| lib/Google/Ads/AdWords/v201710/PreferredContent.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 11 | 81.8 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 5 | 60.0 |
| pod | n/a | ||
| total | 12 | 16 | 75.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Google::Ads::AdWords::v201710::PreferredContent; | ||||||
| 2 | 1 | 1 | 1704 | use strict; | |||
| 1 | 3 | ||||||
| 1 | 37 | ||||||
| 3 | 1 | 1 | 6 | use warnings; | |||
| 1 | 4 | ||||||
| 1 | 122 | ||||||
| 4 | |||||||
| 5 | |||||||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||||||
| 7 | |||||||
| 8 | 0 | 0 | sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201710' }; | ||||
| 9 | |||||||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||||||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||||||
| 12 | |||||||
| 13 | sub __get_attr_class { | ||||||
| 14 | 0 | 0 | return $XML_ATTRIBUTE_CLASS; | ||||
| 15 | } | ||||||
| 16 | |||||||
| 17 | |||||||
| 18 | 1 | 1 | 13 | use base qw(Google::Ads::AdWords::v201710::Criterion); | |||
| 1 | 3 | ||||||
| 1 | 100 | ||||||
| 19 | # Variety: sequence | ||||||
| 20 | use Class::Std::Fast::Storable constructor => 'none'; | ||||||
| 21 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||||||
| 22 | |||||||
| 23 | { # BLOCK to scope variables | ||||||
| 24 | |||||||
| 25 | my %id_of :ATTR(:get |
||||||
| 26 | my %type_of :ATTR(:get |
||||||
| 27 | my %Criterion__Type_of :ATTR(:get |
||||||
| 28 | |||||||
| 29 | __PACKAGE__->_factory( | ||||||
| 30 | [ qw( id | ||||||
| 31 | type | ||||||
| 32 | Criterion__Type | ||||||
| 33 | |||||||
| 34 | ) ], | ||||||
| 35 | { | ||||||
| 36 | 'id' => \%id_of, | ||||||
| 37 | 'type' => \%type_of, | ||||||
| 38 | 'Criterion__Type' => \%Criterion__Type_of, | ||||||
| 39 | }, | ||||||
| 40 | { | ||||||
| 41 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||||||
| 42 | 'type' => 'Google::Ads::AdWords::v201710::Criterion::Type', | ||||||
| 43 | 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||||||
| 44 | }, | ||||||
| 45 | { | ||||||
| 46 | |||||||
| 47 | 'id' => 'id', | ||||||
| 48 | 'type' => 'type', | ||||||
| 49 | 'Criterion__Type' => 'Criterion.Type', | ||||||
| 50 | } | ||||||
| 51 | ); | ||||||
| 52 | |||||||
| 53 | } # end BLOCK | ||||||
| 54 | |||||||
| 55 | |||||||
| 56 | |||||||
| 57 | |||||||
| 58 | |||||||
| 59 | |||||||
| 60 | |||||||
| 61 | 1; | ||||||
| 62 | |||||||
| 63 | |||||||
| 64 | =pod | ||||||
| 65 | |||||||
| 66 | =head1 NAME | ||||||
| 67 | |||||||
| 68 | Google::Ads::AdWords::v201710::PreferredContent | ||||||
| 69 | |||||||
| 70 | =head1 DESCRIPTION | ||||||
| 71 | |||||||
| 72 | Perl data type class for the XML Schema defined complexType | ||||||
| 73 | PreferredContent from the namespace https://adwords.google.com/api/adwords/cm/v201710. | ||||||
| 74 | |||||||
| 75 | Represents a PreferredContent criterion. Possible IDs: {@code 400} ({@code YOUTUBE_TOP_CONTENT}). A criterion of this type can only be created using an ID. This is disabled for AdX when it is contained within Operators: ADD, SET. |
||||||
| 76 | |||||||
| 77 | |||||||
| 78 | |||||||
| 79 | |||||||
| 80 | =head2 PROPERTIES | ||||||
| 81 | |||||||
| 82 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||||||
| 83 | methods: | ||||||
| 84 | |||||||
| 85 | =over | ||||||
| 86 | |||||||
| 87 | |||||||
| 88 | |||||||
| 89 | =back | ||||||
| 90 | |||||||
| 91 | |||||||
| 92 | =head1 METHODS | ||||||
| 93 | |||||||
| 94 | =head2 new | ||||||
| 95 | |||||||
| 96 | Constructor. The following data structure may be passed to new(): | ||||||
| 97 | |||||||
| 98 | |||||||
| 99 | |||||||
| 100 | |||||||
| 101 | |||||||
| 102 | |||||||
| 103 | =head1 AUTHOR | ||||||
| 104 | |||||||
| 105 | Generated by SOAP::WSDL | ||||||
| 106 | |||||||
| 107 | =cut | ||||||
| 108 |