line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright 2020, Google LLC |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); |
4
|
|
|
|
|
|
|
# you may not use this file except in compliance with the License. |
5
|
|
|
|
|
|
|
# You may obtain a copy of the License at |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0 |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software |
10
|
|
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, |
11
|
|
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12
|
|
|
|
|
|
|
# See the License for the specific language governing permissions and |
13
|
|
|
|
|
|
|
# limitations under the License. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
use strict; |
17
|
1
|
|
|
1
|
|
750
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
18
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
85
|
|
19
|
|
|
|
|
|
|
use Const::Exporter enums => [ |
20
|
1
|
|
|
|
|
10
|
UNSPECIFIED => "UNSPECIFIED", |
21
|
|
|
|
|
|
|
UNKNOWN => "UNKNOWN", |
22
|
|
|
|
|
|
|
HEADLINE => "HEADLINE", |
23
|
|
|
|
|
|
|
DESCRIPTION => "DESCRIPTION", |
24
|
|
|
|
|
|
|
MANDATORY_AD_TEXT => "MANDATORY_AD_TEXT", |
25
|
|
|
|
|
|
|
MARKETING_IMAGE => "MARKETING_IMAGE", |
26
|
|
|
|
|
|
|
MEDIA_BUNDLE => "MEDIA_BUNDLE", |
27
|
|
|
|
|
|
|
YOUTUBE_VIDEO => "YOUTUBE_VIDEO", |
28
|
|
|
|
|
|
|
BOOK_ON_GOOGLE => "BOOK_ON_GOOGLE", |
29
|
|
|
|
|
|
|
LEAD_FORM => "LEAD_FORM", |
30
|
|
|
|
|
|
|
PROMOTION => "PROMOTION", |
31
|
|
|
|
|
|
|
CALLOUT => "CALLOUT", |
32
|
|
|
|
|
|
|
STRUCTURED_SNIPPET => "STRUCTURED_SNIPPET", |
33
|
|
|
|
|
|
|
SITELINK => "SITELINK", |
34
|
|
|
|
|
|
|
MOBILE_APP => "MOBILE_APP", |
35
|
|
|
|
|
|
|
HOTEL_CALLOUT => "HOTEL_CALLOUT", |
36
|
|
|
|
|
|
|
CALL => "CALL", |
37
|
|
|
|
|
|
|
PRICE => "PRICE", |
38
|
|
|
|
|
|
|
LONG_HEADLINE => "LONG_HEADLINE", |
39
|
|
|
|
|
|
|
BUSINESS_NAME => "BUSINESS_NAME", |
40
|
|
|
|
|
|
|
SQUARE_MARKETING_IMAGE => "SQUARE_MARKETING_IMAGE", |
41
|
|
|
|
|
|
|
PORTRAIT_MARKETING_IMAGE => "PORTRAIT_MARKETING_IMAGE", |
42
|
|
|
|
|
|
|
LOGO => "LOGO", |
43
|
|
|
|
|
|
|
LANDSCAPE_LOGO => "LANDSCAPE_LOGO", |
44
|
|
|
|
|
|
|
VIDEO => "VIDEO", |
45
|
|
|
|
|
|
|
CALL_TO_ACTION_SELECTION => "CALL_TO_ACTION_SELECTION" |
46
|
|
|
|
|
|
|
]; |
47
|
1
|
|
|
1
|
|
6
|
|
|
1
|
|
|
|
|
9
|
|
48
|
|
|
|
|
|
|
1; |