Getting Remarketing Tag through API

40 views
Skip to first unread message

Warner Onstine

unread,
Aug 20, 2014, 8:08:12 PM8/20/14
to adwor...@googlegroups.com
Sorry if this is a double post, but my other one isn't showing so posting again to make sure it goes through properly.

I'm trying to get the remarketing tag/snippet through the API. Looking at a few other answers in here this should be possible through the ConversionTrackerService. I've tried sending a get through to get all of my trackers but I'm getting 0 results back.

I know that I have the tag because I can see it in the UI for my test account.

Setup:
- MCC Test account
- Sub account under MCC test account that I'm querying on and that has the tag
- MCC regular account where I have a dev token waiting for approval while I work on trying to get the necessary api calls working

Thanks in advance!
-warner

Anash P. Oommen (AdWords API Team)

unread,
Aug 21, 2014, 10:29:30 AM8/21/14
to adwor...@googlegroups.com
Hi Warner,

The js snippet should be available through https://developers.google.com/adwords/api/docs/reference/v201406/ConversionTrackerService.AdWordsConversionTracker#snippet, when using ConversionTrackerService. If you are not getting the snippets back, could you post a SOAP request and response xml (after removing the credentials) that shows the issue?

Cheers
Anash P. Oommen,
AdWords API Advisor.

Warner Onstine

unread,
Aug 21, 2014, 6:23:29 PM8/21/14
to adwor...@googlegroups.com
Here's the xml request
    <soap:Header>
            <ns1:clientCustomerId>CUSTOMER_ID</ns1:clientCustomerId>
            <ns1:developerToken>DEV_TOKEN</ns1:developerToken>
            <ns1:userAgent>Primeloop</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soap:Header>
    <soap:Body>
            <tns:serviceSelector>
                <tns:fields>Name</tns:fields>
            </tns:serviceSelector>
        </tns:get>
    </soap:Body>
</soap:Envelope>

Result (that has been converted to json:
{ rval: { totalNumEntries: '0', 'Page.Type': 'ConversionTrackerPage' } }

-warner

Warner Onstine

unread,
Aug 21, 2014, 6:26:19 PM8/21/14
to adwor...@googlegroups.com

Anash P. Oommen (AdWords API Team)

unread,
Aug 25, 2014, 10:56:41 AM8/25/14
to adwor...@googlegroups.com
Hi Warner,

Could you share your MCC customer id and client customer id by using the "Reply to Author" option? I can take a look.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages