Hi Team!

I try to get all the campaign-extensions associations to a given campaign.

In the Web I can see 3 promotions, 2 sitelinks and 1 structured snippet.

>From Python's AdWords API I receive 2 sitelinks and 1 structured snippet, 
but I don't receive the promotions.

We wonder if it because we have TWO feeds flagged as Promotion Extensions 
in the Business Data.
Even in this case, we should be able to get the associations from the API, 
aren't we?


I can provide the campaign, account and the actual xml sent and received.
See below the redacted xml sent and received.

Request:

<?xml version='1.0' encoding='utf-8'?>
<soap-env:Envelope xmlns:soap-env=
"http://schemas.xmlsoap.org/soap/envelope/";>
<soap-env:Header>
<ns0:RequestHeader xmlns:ns0=
"https://adwords.google.com/api/adwords/cm/v201809";>
<ns0:clientCustomerId>...redacted...></ns0:clientCustomerId>
<ns0:developerToken>...redacted...</ns0:developerToken>
<ns0:userAgent>...redacted... (AwApi-Python, googleads/14.1.0, 
Python/3.7.7, zeep)</ns0:userAgent>
<ns0:validateOnly>false</ns0:validateOnly>
<ns0:partialFailure>false</ns0:partialFailure>
</ns0:RequestHeader>
</soap-env:Header>
<soap-env:Body>
<ns0:get xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201809";>
<ns0:selector>
<ns0:fields>CampaignId</ns0:fields><ns0:fields>Extensions
</ns0:fields><ns0:fields>ExtensionType</ns0:fields><ns0:fields>
PlatformRestrictions</ns0:fields>
<ns0:predicates><ns0:field>CampaignId</ns0:field><ns0:operator>EQUALS
</ns0:operator><ns0:values>...redacted...</ns0:values></ns0:predicates>
<ns0:paging><ns0:startIndex>0</ns0:startIndex>
<ns0:numberResults>10000</ns0:numberResults></ns0:paging>
</ns0:selector>
</ns0:get>
</soap-env:Body>
</soap-env:Envelope>



Response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header><ResponseHeader xmlns=
"https://adwords.google.com/api/adwords/cm/v201809";>
<requestId>...redacted...</requestId>
<serviceName>CampaignExtensionSettingService</serviceName>
<methodName>get</methodName>
<operations>0</operations><responseTime>103</responseTime>
</ResponseHeader></soap:Header>
<soap:Body><getResponse xmlns=
"https://adwords.google.com/api/adwords/cm/v201809";>
<rval><totalNumEntries>3</totalNumEntries><Page.Type>
CampaignExtensionSettingPage</Page.Type>
<entries><campaignId>..redacted..</campaignId><extensionType>NONE
</extensionType><extensionSetting><platformRestrictions>NONE
</platformRestrictions></extensionSetting></entries>
<entries><campaignId>..redacted..</campaignId><extensionType>SITELINK
</extensionType><extensionSetting>
<extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type=
"SitelinkFeedItem"><feedId>..redacted..</feedId><feedItemId>..redacted..
</feedItemId><status>ENABLED</status><feedType>SITELINK</feedType>..redacted
</extensions>
<extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type=
"SitelinkFeedItem"><feedId>..redacted..</feedId><feedItemId>..redacted..
</feedItemId><status>ENABLED</status><feedType>SITELINK</feedType>
..redacted..</extensions><platformRestrictions>NONE
</platformRestrictions></extensionSetting>
</entries>
<entries><campaignId>..redacted..</campaignId><extensionType>
STRUCTURED_SNIPPET</extensionType><extensionSetting>
<extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:type=
"StructuredSnippetFeedItem"><feedId>..redacted..</feedId><feedItemId>
..redacted..</feedItemId><status>ENABLED</status><feedType>
STRUCTURED_SNIPPET</feedType>..redacted..</extensions><platformRestrictions>
NONE</platformRestrictions></extensionSetting>
</entries>
</rval></getResponse></soap:Body></soap:Envelope>


We can see that there is an item with NONE data and it may be the three 
promotion extensions assigned to this campaign, but this is useless as it 
is coming.

Please, could you give me some hint on how to retrieve these 
campaign-promotion extension assignations?

Thanks!
Zorion

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/64abb40e-2d15-43f7-a9ce-1f97d56ac55b%40googlegroups.com.

Reply via email to