Hello All.
I'm very beginner of perl and I need to retrieve sitelinks from my
adgroup. I can get result from AdGroupExtensionSettingService, But I don't
know what to do next here is my code can you guys guide me please.
my $client = Google::Ads::AdWords::Client->new({
version => "v201609",
properties_file => "./adwords.properties",
client_id => $client_id,
});
my $campaign_predicate = Google::Ads::AdWords::v201702::Predicate->new({
field => "CampaignId",
operator => "IN",
values => [$campaign_id]});
my $paging = Google::Ads::AdWords::v201702::Paging->new({
startIndex => 0,
numberResults => 500});
my $selector = Google::Ads::AdWords::v201702::Selector->new({
fields => ["AdGroupId","Extensions"],
predicates => [$campaign_predicate],
paging => $paging
});
my $element =
Google::Ads::AdWords::v201702::AdGroupExtensionSettingService::get->new(
selector => $selector, # see Google::Ads::AdWords::v201702::Selector
);
.... what to do next
Thank
Mike.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/c9e7e825-37e7-4e94-ab0f-5c2f55d52011%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.