Get extensions outside Campaigns or AdGroups

8 views
Skip to first unread message

SeriousJ

unread,
Apr 12, 2016, 10:58:40 AM4/12/16
to AdWords API Forum
I use the PHP client library with version v201603 of the API.
 
I am trying to get the Callout Extensions that don't belong to a Campaign or an AdGroup.

If an Extension belongs to a Campaign or an Adgroup, I can get it using the 'CampaignExtensionSettingService' or ''AdGroupExtensionSettingService' parameter in the GetService method.

Here is an example below that works fine:

    $campaignExtensionSettingService = $user->GetService('CustomerExtensionSettingService', ADWORDS_VERSION);
    $selector = new Selector();
    $selector->fields = array("ExtensionType", "Extensions");
    $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE);
    $campaignExtensionSettingService->get($selector);

However, I can't access Extensions that are not part of a Campaign or an AdGroup. Parameter 'CustomerExtensionSettingService' returns an empty result.

Any idea?


Reply all
Reply to author
Forward
0 new messages