« blib/lib/Google/Ads/AdWords/v201309/AdParamService/mutateResponse.pm
↑ Summary
blib/lib/Google/Ads/AdWords/v201309/AdScheduleTarget.pm »
| 1 | package Google::Ads::AdWords::v201309::AdSchedule; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | |||
| 6 | __PACKAGE__->_set_element_form_qualified(1); | ||
| 7 | |||
| 8 | sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201309' }; | ||
| 9 | |||
| 10 | our $XML_ATTRIBUTE_CLASS; | ||
| 11 | undef $XML_ATTRIBUTE_CLASS; | ||
| 12 | |||
| 13 | sub __get_attr_class { | ||
| 14 | return $XML_ATTRIBUTE_CLASS; | ||
| 15 | } | ||
| 16 | |||
| 17 | |||
| 18 | use base qw(Google::Ads::AdWords::v201309::Criterion); | ||
| 19 | # Variety: sequence | ||
| 20 | use Class::Std::Fast::Storable constructor => 'none'; | ||
| 21 | use base qw(Google::Ads::SOAP::Typelib::ComplexType); | ||
| 22 | |||
| 23 | Class::Std::initialize(); | ||
| 24 | |||
| 25 | { # BLOCK to scope variables | ||
| 26 | |||
| 27 | my %id_of :ATTR(:get<id>); | ||
| 28 | my %type_of :ATTR(:get<type>); | ||
| 29 | my %Criterion__Type_of :ATTR(:get<Criterion__Type>); | ||
| 30 | my %dayOfWeek_of :ATTR(:get<dayOfWeek>); | ||
| 31 | my %startHour_of :ATTR(:get<startHour>); | ||
| 32 | my %startMinute_of :ATTR(:get<startMinute>); | ||
| 33 | my %endHour_of :ATTR(:get<endHour>); | ||
| 34 | my %endMinute_of :ATTR(:get<endMinute>); | ||
| 35 | |||
| 36 | __PACKAGE__->_factory( | ||
| 37 | [ qw( id | ||
| 38 | type | ||
| 39 | Criterion__Type | ||
| 40 | dayOfWeek | ||
| 41 | startHour | ||
| 42 | startMinute | ||
| 43 | endHour | ||
| 44 | endMinute | ||
| 45 | |||
| 46 | ) ], | ||
| 47 | { | ||
| 48 | 'id' => \%id_of, | ||
| 49 | 'type' => \%type_of, | ||
| 50 | 'Criterion__Type' => \%Criterion__Type_of, | ||
| 51 | 'dayOfWeek' => \%dayOfWeek_of, | ||
| 52 | 'startHour' => \%startHour_of, | ||
| 53 | 'startMinute' => \%startMinute_of, | ||
| 54 | 'endHour' => \%endHour_of, | ||
| 55 | 'endMinute' => \%endMinute_of, | ||
| 56 | }, | ||
| 57 | { | ||
| 58 | 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long', | ||
| 59 | 'type' => 'Google::Ads::AdWords::v201309::Criterion::Type', | ||
| 60 | 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string', | ||
| 61 | 'dayOfWeek' => 'Google::Ads::AdWords::v201309::DayOfWeek', | ||
| 62 | 'startHour' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 63 | 'startMinute' => 'Google::Ads::AdWords::v201309::MinuteOfHour', | ||
| 64 | 'endHour' => 'SOAP::WSDL::XSD::Typelib::Builtin::int', | ||
| 65 | 'endMinute' => 'Google::Ads::AdWords::v201309::MinuteOfHour', | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | |||
| 69 | 'id' => 'id', | ||
| 70 | 'type' => 'type', | ||
| 71 | 'Criterion__Type' => 'Criterion.Type', | ||
| 72 | 'dayOfWeek' => 'dayOfWeek', | ||
| 73 | 'startHour' => 'startHour', | ||
| 74 | 'startMinute' => 'startMinute', | ||
| 75 | 'endHour' => 'endHour', | ||
| 76 | 'endMinute' => 'endMinute', | ||
| 77 | } | ||
| 78 | ); | ||
| 79 | |||
| 80 | } # end BLOCK | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | 1; | ||
| 89 | |||
| 90 | |||
| 91 | =pod | ||
| 92 | |||
| 93 | =head1 NAME | ||
| 94 | |||
| 95 | Google::Ads::AdWords::v201309::AdSchedule | ||
| 96 | |||
| 97 | =head1 DESCRIPTION | ||
| 98 | |||
| 99 | Perl data type class for the XML Schema defined complexType | ||
| 100 | AdSchedule from the namespace https://adwords.google.com/api/adwords/cm/v201309. | ||
| 101 | |||
| 102 | Represents an AdSchedule Criterion. AdSchedule is specified as day and time of the week criteria to target the Ads. <p><b>Note:</b> An AdSchedule may not have more than <b>six</b> intervals in a day.</p> <span class="constraint AdxEnabled">This is enabled for AdX.</span> | ||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | =head2 PROPERTIES | ||
| 108 | |||
| 109 | The following properties may be accessed using get_PROPERTY / set_PROPERTY | ||
| 110 | methods: | ||
| 111 | |||
| 112 | =over | ||
| 113 | |||
| 114 | =item * dayOfWeek | ||
| 115 | |||
| 116 | |||
| 117 | =item * startHour | ||
| 118 | |||
| 119 | |||
| 120 | =item * startMinute | ||
| 121 | |||
| 122 | |||
| 123 | =item * endHour | ||
| 124 | |||
| 125 | |||
| 126 | =item * endMinute | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | =back | ||
| 132 | |||
| 133 | |||
| 134 | =head1 METHODS | ||
| 135 | |||
| 136 | =head2 new | ||
| 137 | |||
| 138 | Constructor. The following data structure may be passed to new(): | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | =head1 AUTHOR | ||
| 146 | |||
| 147 | Generated by SOAP::WSDL | ||
| 148 | |||
| 149 | =cut | ||
| 150 |