U
U
Ultraice2015-08-12 15:26:38
API
Ultraice, 2015-08-12 15:26:38

How to make requests to test account adwords api?

According to the instructions https://developers.google.com/adwords/api/docs/tes... I did
1) created a production MCC acc and received a developerToken
2) created a test MCC acc, which, as I understand it, is a normal acc not related to adwords
3 ) received a refresh_token of the test account
4) registered in auth.ini of the client library

  • developerToken
  • clientCustomerId
  • userAgent
  • client_id
  • client_secret
  • refresh_token

When executing php www/adwords/examples/AdWords/v201506/BasicOperations/GetCampaigns.php the response No campaigns were found is returned.
When requesting php www/adwords/examples/AdWords/v201506/BasicOperations/AddCampaigns.php
[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ class campaignmgmt.campaign.MutateAction (ADD) requires CREATE_CAMPAIGN
Tell me what's wrong.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
Ultraice, 2015-08-13
@Ultraice

I didn’t find this in the documentation, but by desperate googling and using the method of scientific poke, it was established:
1) php www/adwords/examples/AdWords/v201506/AccountManagement/CreateAccount.php create a new account remember customerID
2) in auth.ini we register the received customerID
Now we We can start companies!

D
Dimonchik, 2015-08-12
@dimonchik2013

campaigns created?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question