Cannot get the customer's campaigns

2021-05-26 Thread alab...@gmo-c.jp
Hello,

I am trying to access client's campaigns via Google Ads API but I am 
failing.
I have set the in the header but I get the USER_PERMISSION_DENIED error.

source code:
-
$googleAdsClient = (new GoogleAdsClientBuilder())
->fromFile()
->withLoginCustomerId('2888587923')
->withOAuth2Credential($oAuth2Credential)
->build();
-

I am getting the following error:
-
google-ads.WARNING: Request made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v7.services.GoogleAdsService/SearchStream", 
CustomerId: 3724850960, RequestId: "aZ7zFykOk4ZjZwwthfjOnw", IsFault: 1, 
FaultMessage: "["User doesn't have permission to access customer. Note: If 
you're accessing a client customer, the manager's customer id must be set 
in the 'login-customer-id' header. See 
https:\/\/developers.google.com\/google-ads\/api\/docs\/concepts\/call-structure#cid"]"
[2021-05-27T06:35:30.264752+00:00] google-ads.NOTICE: Request
---
Method Name: /google.ads.googleads.v7.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/8.0.6 gapic\/ gax\/1.7.1 grpc\/1.38.0",
"x-goog-request-params": "customer_id=3724850960",
"developer-token": "REDACTED",
"login-customer-id": "2888587923"
}
Request:
{"customerId":"3724850960","query":"SELECT campaign.id, campaign.name FROM 
campaign ORDER BY campaign.id"}

Response
---
Headers: {
"request-id": "aZ7zFykOk4ZjZwwthfjOnw",
"date": "Thu, 27 May 2021 06:35:30 GMT",
"alt-svc": "h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; 
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\""
}

Fault
---
Status code: 7
Details: The caller does not have permission
Failure: 
{"errors":[{"errorCode":{"authorizationError":"USER_PERMISSION_DENIED"},"message":"User
 
doesn't have permission to access customer. Note: If you're accessing a 
client customer, the manager's customer id must be set in the 
'login-customer-id' header. See 
https:\/\/developers.google.com\/google-ads\/api\/docs\/concepts\/call-structure#cid"}],"requestId":"aZ7zFykOk4ZjZwwthfjOnw"}
Request with ID 'aZ7zFykOk4ZjZwwthfjOnw' has failed.
Google Ads failure details:
authorization_error: User doesn't have permission to access customer. Note: 
If you're accessing a client customer, the manager's customer id must be 
set in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
-

Thank you for any help.

Alex

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fff01d3b-5464-43eb-be22-d598b05feaf1n%40googlegroups.com.


RE: Is it possible to retrieve, and use, auto-created custom intent audiences?

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Mark,

You can try and retrieve these records using the custom_interest view or using 
the CustomInterestService. If retrieved, you can then opt to pass the details 
to the CustomIntentInfo and create this as an ad group criteria using the 
AdGroupCriterionService.

Let me know how this goes on your end.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2Hy2yl:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/zOwsC0QTR6EF002zULjalTTcmvlbNOJBPqQw%40sfdc.net.


RE: So many bugs & broken things

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hello Deny,

Thanks for getting back to us.

We completely understand on the inconvenience you've encountered and we're here 
to help you on this.

For us to help you address on your question 3, please enable logging and retry 
your request to generate these logs (request and response with request-id). You 
can then send those logs via this email (googleadsapi-supp...@google.com). In 
addition, you mentioned that if you omit the “where campaign.id=11615336854” 
clause, it returns one adgroup row for that campaign. I've checked on the 
provided customer ID and I can see that the campaign ID only contains a single 
adgroup. Could you further elaborate on this?

As an aside, I need to remove your post as it might contain data that isn't 
intended to shared publicly. Below is a copy of your post with the masked data.

"Hello Ernie,

Thank you for your reply and sorry about venting so bluntly but I am very upset 
about the whole thing. Sorry to reply publicly but the “Reply to Author” button 
appears disabled to me.

I don’t care about items 1, 2 and 4 as I’ve fixed those myself on my end.

But concering item 3, we have almost 10 million rows of dimension data for 
adgroup criterion for one client, another 3 million rows for another one and so 
on. We query those 4 times a day and it’s taking over 5 hours to get all data 
without the incremental logic we were using before the Google Ads query engine 
broke.

We’re using the Python client libraries, all updated to the latest version, so 
I don’t really have access to the actual raw request and results (the later 
would solve many of my issues that I’ve had to build workarounds to fix btw).

The only thing I can provide is the query and response metadata, we’re using 
the SearchGoogleAdsStreamRequest method:

*** QUERY for customer ID ***
<>

*** RESPONSE ***
<>

Please note that if I omit the “where campaign.id=11615336854” clause, it 
returns one adgroup row for that campaign.

Also, we use the same function for querying with and without the “where” 
clause, and it works perfectly without it for all entities.

Cheers,
Deny"

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2HDaEA:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5Kyzu0QTR2P200enwP5Ss7RKGcKP2yk3D_QA%40sfdc.net.


Re: Hi Re: Access "Change History" -> "All Changes" count in UI using API

2021-05-26 Thread cv
HI Andy,

No, I am aware of this, and I am using this API since long.
Hierarchy means "You can retrieve the list of all changes for all resource 
types. The returned resource_type 

 is 
the field that changed. Any parent fields are also populated. For example, 
if the ad_group_criterion 

 changed, 
then the ad_group 

 field 
will also be populated."

That means If we do ad_group_criterion 

  
changes it will also return as ad_group change which is duplicate since We 
ahve not done any changes to ad_group.

Thanks,



On Wednesday, 26 May 2021 at 21:08:56 UTC+5:30 autofus...@gmail.com wrote:

> I am not sure what you mean by response in hierarchy.  We are 
> using GetChangeDetails.php from the Github almost as is.   The only change 
> is an extra option to $googleAdsClient as we are accessing our client's 
> adwords account from a manager account.
>
>  $googleAdsClient = (new GoogleAdsClientBuilder())->fromFile()
> ->withOAuth2Credential($oAuth2Credential)
> *->withLoginCustomerId($ROOT_CUSTOMER_ID)*
> ->build();
>
> $ROOT_CUSTOMER_ID is our manager account's customer id.   Maybe this is 
> what you have trouble with.
>
> On Tuesday, May 25, 2021 at 10:30:52 PM UTC-7 cv wrote:
>
>> Hello Andy,
>>
>> Thanks for your response.
>> Yes, I would also able to manage it. But I have issue. Like 
>> GetChangeDetails.php is providing response in hirerchy.
>>
>> So in some case we have not changes parent entity but it would still 
>> return.
>>
>> If you can share small code snippet would be helpful.
>>
>> Thanks,
>>
>>
>>
>>
>> On Wednesday, 26 May 2021 at 00:34:09 UTC+5:30 autofus...@gmail.com 
>> wrote:
>>
>>> Hi cv,
>>>
>>> Based on my email back and forth with the API team, we've isolated some 
>>> of the count I am not seeing are related to video campaigns which changes 
>>> are not tracked by the API.  I am able to get an accurate count 
>>> with GetChangeDetails.php for the activity in the last week, so it does 
>>> work to some extent.  But for the month, there are a lot missing, and it 
>>> will probably take time and effort to isolate what changes are not 
>>> tracked.  All in all, at this point I don't think the API could provide 
>>> what we are looking for which is the count of "All Changes" in the 
>>> ads.google.com UI.
>>>
>>> Thanks.
>>>
>>> On Tuesday, May 25, 2021 at 11:36:49 AM UTC-7 adsapiforumadvisor wrote:
>>>
 Hello,

 The change event service only reports on changes from specific sources. 
 It's likely that the changes that are not being reflected in the change 
 event results are from different sources. One of the key ones that is not 
 reported is the old AdWords API. 

 If you would like us to take a closer look at your reports, please send 
 them over privately.

 Regards,

 Anthony

 [image: Google Logo] 
 Anthony 
 Google Ads API Team 
   

 ref:_00D1U1174p._5004Q2HASpy:ref

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c53fa6bf-3bb2-4978-b835-fc0d788d83dan%40googlegroups.com.


DEVELOPER_TOKEN_NOT_APPROVED with test MCC account

2021-05-26 Thread RainMaker Rainsoft
Hello,

I am trying to call adwords api to fetch report with my test manager and 
client account. Its giving me this 
error: QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED.

This is my account details:

Manager account details(Developer token is from this account):
Client Id:  209-289-5246
Developer toke: SVW-M84mDjoQAVtwQNuwMA (Access is Test Account)

Kindly help me how to fix this.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9cfcd231-262f-46df-9f83-db6f66f245ddn%40googlegroups.com.


Re: TWO_STEP_VERIFICATION_NOT_ENROLLED Only for UserList

2021-05-26 Thread xy sun

Thanks Xiaoming,  I will add the logs to get this info and get back to you.


Thanks,
Xiaoying
On Wednesday, May 26, 2021 at 8:56:24 PM UTC+8 adsapiforumadvisor wrote:

> Hi Xiaoying,
>
> Thank you for reaching out. Please share the complete request and response 
> logs via the *Reply privately to author* option.
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HBhJo:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1cf1347a-0729-4443-bedf-8ab01f3be8fan%40googlegroups.com.


Re: How to receive updates about disapproved ads (for policy violation)

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Dylan,

Thank you for reaching out. Your understanding is correct. There isn’t any 
specific API endpoint that deals with notification so I would suggest you query 
the combinedApprovalStatus attribute of the PolicySummary object regularly to 
monitor the policy violation of ads.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2HCLXP:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/csTJv0QTQ87U00S3ORuJrJQneulbIOk97JYQ%40sfdc.net.


RE: Google ADS API campaign Statuses

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hello,

Thanks for reaching out. These two values may be returned for campaign types 
that are not formally supported in the Ads API. You can find a list of 
supported campaign types here. Other campaigns (e.g. Discovery campaigns) may 
return 'UNKNOWN' or 'UNSPECIFIED'. If you are getting one of these two values 
for a supported campaign type, please let us know.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2Hxvta:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/20_N-0QTQ6L200-zYXRKEYQLC5Dza52QfLjA%40sfdc.net.


Re: Hi Re: Access "Change History" -> "All Changes" count in UI using API

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hello,

This case has been escalated to me.

As I mentioned on the other thread, the change status in the Google Ads API is 
more complete than the Change History in the web interface, and includes for 
example changes that are made automatically by Google backend systems.

If this doesn't explain your concern, then please outline what remains to be 
explained so that I can make sure I take a close look at exactly what's still 
problematic.

Regards,
Mike, Google Ads API Team
ref:_00D1U1174p._5004Q2HASpy:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6qO410QTQ5N500et8zPGWQTOSQcWsTBaDuvQ%40sfdc.net.


Re: So many bugs & broken things

2021-05-26 Thread 'Deny Watanabe' via AdWords API and Google Ads API Forum
Hi Mat,

3) actually this one was caused by my solution for 2) not being fully 
debugged on my side, working OK now.

In fact as far as I'm concerned all the issues I've addressed in my OP have 
been circumvented by yours truly so the issue can be closed, but the bitter 
taste left by the experience will take a while to fade away.

Cheers,
Deny

On Wednesday, May 26, 2021 at 10:53:40 AM UTC-3 Mat wrote:

> Hi Deny,
>
> I feel you.
>
> 2) I opened an issue 
>  regarding 
> this point a few days ago. There is an answer from the Python library 
> maintainers too, that works for me.
>
> 3) I did not run into this issue yet. At least I hope so (would be very 
> bad). Could you provide an example?
>
> 4) This is not limited to fields named "type". Technically, this could 
> affect many other field-names 
> 
>  
> too.
> But there is hope: "# We make SOME exceptions for certain names that 
> collide with builtins." 
> 
>  ^^
>
> Regards
> Mat
>
> deny.w...@wmccann.com schrieb am Dienstag, 25. Mai 2021 um 18:47:22 UTC+2:
>
>> 1) google_ads changed to googleads in class path: REALLY guys, you 
>> couldn't live with an old name, you had to go ahead and BREAK THINGS for 
>> users? If we are so irrelevant, why bother developing stuff and releasing 
>> it publicly?
>>
>> 2) To whom it may concern,  MessageToJson and MessageToDict from 
>> google.protobuf.json_format no longer work. I've created a workaround, but 
>> really who cares?
>>
>> 3) When issuing search_stream and querying ad_group, ad_group_ad, etc., 
>> "where campaign.id = x" no longer works, bringing no results. The 
>> reason I was using this was so I could implement some sort of incremental 
>> query based on campaign age and status, otherwise we get a HUGE amount of 
>> data in the results (I'm responsible for Coca-Cola, General Motors, Nestle 
>> and some other large accounts in Brazil). Now we have to go back to 
>> filtering by client which is in practice no filter at all, and by doing 
>> that we'll clog your servers, congratulations.
>>
>> 4) Things keep getting better and better as any column named "type" NEEDS 
>> TO BE QUERIED with the original name, but HAS TO BE READ as "type_". 
>>
>> If I sound pissed is because I AM. At this point, all things being equal, 
>> I'm recommending ANYTHING but google to my clients. Your devs are 
>> unbelievably incompetent, and I would bet good money they think they're 
>> incredible (Dunning-Kruger anyone?). Complexity is not a measure of 
>> success, quite the opposite in fact. Your code is HORRIBLE and an 
>> embarrassment to Google.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/727b13c8-ab2f-4da0-ba76-78485a5a8916n%40googlegroups.com.


RE: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use the Google Ads API.']

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi 360Tech,

Thank you for bringing this issue to our attention. As you will see here, when 
getting this error it shows that the developer token being used is either not 
correct or mistyped. We would suggest to make sure that any references to the 
token are correct as it is easy to mistype this.

Regards,

William Pescherine
Google Ads API Team
ref:_00D1U1174p._5004Q2Hxwkj:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eRemg0QTQ3BS00PSuBuyz6RGywhaUuSkK2sA%40sfdc.net.


Is it possible to retrieve, and use, auto-created custom intent audiences?

2021-05-26 Thread Mark
Hello,

Using either API, is it possible to retrieve, and use, auto generated 
custom intent audiences? I mean the highlighted ones.

I have found this 
,
 
but I'm not sure whether it's applicable for my use case.

Thank you, 
Mark


[image: pasted image 0.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d8c27a58-e030-4483-a82a-5d0eaad62e7bn%40googlegroups.com.


Re: ListInvoices-error (PermissionDenied)

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Asle,

If you are unable to reply privately, you can email us at 
googleadsapi-supp...@google.com.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2HDVYN:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/gERnH0QTQ2IU00US3KrWqnQDmfYle70NNtFQ%40sfdc.net.


RE: Account label limit

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Mark,

Thank you for bringing this question to our attention. As posted by another 
user, there is still the limit of 1000 as posted here. As for a best way to try 
and keep within the limit? Would most likely suggest grouping customers with 
similar label in blocks.

As for who is associated with the label? You could try to also use the 
customer_label.customer . And depending on how you manage the return on it, can 
get some list/array with a size/length.

Regards,

William Pescherine
Google Ads API Team
ref:_00D1U1174p._5004Q2Hxw6f:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/qxeyR0QTQ2I300dn5wRv6HTwqnhpzWelwtuA%40sfdc.net.


ad_group_criterion.effective_cpc_bid_micros and ad_group_criterion.effective_cpc_bid_source populated while BiddingStrategyType is some smart bidding strategy

2021-05-26 Thread Mat
Hi there,

I have 4 questions (regarding the Google Ads API):

1) Why are the fields "ad_group_criterion.*effective*_cpc_bid_micros" and 
"ad_group_criterion.*effective*_cpc_bid_source" beeing populated in an 
ad_group_criterion report for a keyword even if the actual 
BiddingStrategyType is some smart bidding strategy like "TARGET_CPA" or 
"MAXIMIZE_CONVERSION_VALUE? This does not seem to make any sense.

2) Where are those values coming from? Are these legacy values from before 
the BiddingStrategyType was set to a smart bidding type?

3) Are we able to mutate the "ad_group_criterion.cpc_bid_micros" value on a 
keyword even if the  relevant BiddingStrategyType is some smart bidding 
type? <- this does not seem to be possible in the Google Ads UI.

4) if 3) is not possible: what's the recommended way to determine, if  
ad_group_criterion.cpc_bid_micros on a keyword may be mutated or not?

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5b0a10cb-20bb-4595-9be6-96b8d7218220n%40googlegroups.com.


Unauthorized CREATE operation

2021-05-26 Thread Nayrouz Boussoffara



I'm using google adwords api to create campaigns and ads. It works in my 
test account but in my Manager account I get this error :Unauthorized 
CREATE operation in invoking a service's mutate method

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/db86fb3a-5bb4-44a1-b0e1-07c151825a1fn%40googlegroups.com.


Re: Error when creating Display Campaign - CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN: Cannot attach bidding strategy to campaign.

2021-05-26 Thread Антон Бендриков
Apologies, I thought I had checked that before posting...

Switching to bidding strategy:
{
  name: "Bidding Strategy (GJkF)",
  target_spend: {}
}

Worked.

Thank you!

On Wednesday, 26 May 2021 at 15:51:43 UTC+1 adsapiforumadvisor wrote:

> Hello,
>
> It appears that the bid strategy that you are trying to apply to your 
> display campaign is MAXIMIZE_CONVERSIONS. As you can see in this reference 
> page 
> ,
>  
> MAXIMIZE_CONVERSIONS works only with Search campaigns. You will need to use 
> a strategy that is compatible with display campaigns.
>
> Regards,
> Anthony
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HxvUa:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1d79c2bf-7898-41ba-b1b7-d803b0081e7an%40googlegroups.com.


Re: Hi Re: Access "Change History" -> "All Changes" count in UI using API

2021-05-26 Thread Autofusion Inc
I am not sure what you mean by response in hierarchy.  We are 
using GetChangeDetails.php from the Github almost as is.   The only change 
is an extra option to $googleAdsClient as we are accessing our client's 
adwords account from a manager account.

 $googleAdsClient = (new GoogleAdsClientBuilder())->fromFile()
->withOAuth2Credential($oAuth2Credential)
*->withLoginCustomerId($ROOT_CUSTOMER_ID)*
->build();

$ROOT_CUSTOMER_ID is our manager account's customer id.   Maybe this is 
what you have trouble with.

On Tuesday, May 25, 2021 at 10:30:52 PM UTC-7 cv wrote:

> Hello Andy,
>
> Thanks for your response.
> Yes, I would also able to manage it. But I have issue. Like 
> GetChangeDetails.php is providing response in hirerchy.
>
> So in some case we have not changes parent entity but it would still 
> return.
>
> If you can share small code snippet would be helpful.
>
> Thanks,
>
>
>
>
> On Wednesday, 26 May 2021 at 00:34:09 UTC+5:30 autofus...@gmail.com wrote:
>
>> Hi cv,
>>
>> Based on my email back and forth with the API team, we've isolated some 
>> of the count I am not seeing are related to video campaigns which changes 
>> are not tracked by the API.  I am able to get an accurate count 
>> with GetChangeDetails.php for the activity in the last week, so it does 
>> work to some extent.  But for the month, there are a lot missing, and it 
>> will probably take time and effort to isolate what changes are not 
>> tracked.  All in all, at this point I don't think the API could provide 
>> what we are looking for which is the count of "All Changes" in the 
>> ads.google.com UI.
>>
>> Thanks.
>>
>> On Tuesday, May 25, 2021 at 11:36:49 AM UTC-7 adsapiforumadvisor wrote:
>>
>>> Hello,
>>>
>>> The change event service only reports on changes from specific sources. 
>>> It's likely that the changes that are not being reflected in the change 
>>> event results are from different sources. One of the key ones that is not 
>>> reported is the old AdWords API. 
>>>
>>> If you would like us to take a closer look at your reports, please send 
>>> them over privately.
>>>
>>> Regards,
>>>
>>> Anthony
>>>
>>> [image: Google Logo] 
>>> Anthony 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2HASpy:ref
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/51c0607f-01f9-44fa-94fe-1a850d81364fn%40googlegroups.com.


RE: Get a developer token with read-only access

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Thomas,

Thank you for bringing this question to our attention. The best way to gain 
access to the clients Google Ads Account is for them to either create a 
developer token and OAuth credentials for you. Which can then have the access 
that is requested, or to change the access on the account that you have. This 
of course would also need to be done by the Admin of the account.

Regards,

William Pescherine
Google Ads API Team
ref:_00D1U1174p._5004Q2HxvcG:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52AwH0QTQ0HU00tq8qOnMVTFSKa1lMJViEKQ%40sfdc.net.


Re: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use the Google Ads API.']

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hello,

My name is Matt and I work alongside Peter. Can you please provide us with the 
date that your developer token was created?

Thanks,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2HCemA:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7rsbY0QTPZBT00xXLqjD_2Qzizpv5G7XLTbA%40sfdc.net.


Re: Access token with client library of gRPC

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Hiroki,

Thank you for reaching out. The access token is not generated for each 
`GoogleAdsClient` instance but rather on the account level to create sessions. 
Thus, you could feel free to recreate the `GoogleAdsClient` instances as many 
times as you want.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2HDRbu:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/Slh1k0QTPZ7L00gSD-neseSFimMjN_SfB0UQ%40sfdc.net.


RE: Error when creating Display Campaign - CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN: Cannot attach bidding strategy to campaign.

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hello,

It appears that the bid strategy that you are trying to apply to your display 
campaign is MAXIMIZE_CONVERSIONS. As you can see in this reference page, 
MAXIMIZE_CONVERSIONS works only with Search campaigns. You will need to use a 
strategy that is compatible with display campaigns.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2HxvUa:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/AMQSq0QTPYLO00X1jzuOwESuy3ZHDvET93yQ%40sfdc.net.


Google API Keywords Search Volume

2021-05-26 Thread Dumitru Lesnic
Hello, 

I'm searching for a way to get *search volume* data for some keyword and 
the only documentation that I found is Generating Targeting Ideas 
.
 
Using the Adword API is not working for me since I have a fresh dev token 
and I'm getting *New developers must use the Google Ads API *error message.

Could you give an example on how can I get *search volume* data using the 
*google 
api java client*?

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a8e869af-55d7-44bd-aaa0-45fc02caaf9en%40googlegroups.com.


RE: Compilation failed: internal java compiler error

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hello,

Thanks for reaching out. As this issue is client library specific, I would 
recommend contacting the client library owners by navigating to the Issues tab 
in the GitHub linked in your post. Please let us know if we can help with any 
API specific questions.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2Hxp5L:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/BD3W70QTPVK500bt-h-x_VR22ovNQrHShWHQ%40sfdc.net.


RE: So many bugs & broken things

2021-05-26 Thread 'Watanabe, Deny (SPL-MEW)' via AdWords API and Google Ads API Forum
Hello Ernie,

Thank you for your reply and sorry about venting so bluntly but I am very upset 
about the whole thing. Sorry to reply publicly but the “Reply to Author” button 
appears disabled to me.

I don’t care about items 1, 2 and 4 as I’ve fixed those myself on my end.

But concering item 3, we have almost 10 million rows of dimension data for 
adgroup criterion for one client, another 3 million rows for another one and so 
on. We query those 4 times a day and it’s taking over 5 hours to get all data 
without the incremental logic we were using before the Google Ads query engine 
broke.

We’re using the Python client libraries, all updated to the latest version, so 
I don’t really have access to the actual raw request and results (the later 
would solve many of my issues that I’ve had to build workarounds to fix btw).

The only thing I can provide is the query and response metadata, we’re using 
the SearchGoogleAdsStreamRequest method:

*** QUERY for customer ID 4863710790 ***
select ad_group.id, ad_group.name, ad_group.campaign, ad_group.type, 
ad_group.status
from ad_group
where campaign.id=11615336854


*** RESPONSE ***
StatusCode.OK  (_Metadatum(key='content-disposition', value='attachment'), 
_Metadatum(key='date', value='Wed, 26 May 2021 13:45:09 GMT')) 
(_Metadatum(key='content-disposition', value='attachment'), 
_Metadatum(key='date', value='Wed, 26 May 2021 13:45:09 GMT'))
*** RETURNED VALUES ***
[]
***

Please note that if I omit the “where campaign.id=11615336854” clause, it 
returns one adgroup row for that campaign.

Also, we use the same function for querying with and without the “where” 
clause, and it works perfectly without it for all entities.

Cheers,
Deny

From: adwords-api@googlegroups.com  On Behalf Of 
Google Ads API Forum Advisor Prod
Sent: Wednesday, May 26, 2021 3:42 AM
To: adwords-api@googlegroups.com
Subject: [EXTERNAL] RE: So many bugs & broken things

Hi,

Sorry to hear your frustration. Allow me to provide support to your concern.

As for the first 2 items, since the issue is more specific to client library, 
then I would suggest posting it to one of the support channels below based on 
the client library that you are using. You can get support from the author of 
the client library that is more equipped on this topic.

  *   
https://github.com/googleads/google-ads-java/issues
  *   
https://github.com/googleads/google-ads-dotnet/issues
  *   
https://github.com/googleads/google-ads-php/issues
  *   
https://github.com/googleads/google-ads-python/issues
  *   
https://github.com/googleads/google-ads-ruby/issues
  *   
https://github.com/googleads/google-ads-perl/issues

"3) When issuing search_stream and querying ad_group, ad_group_ad, etc., "where 
campaign.id = x" no longer works, bringing no results"
- Could you provide the complete 
request
 and 
response
 logs with request 
ID
 generated on your end to investigate this issue and to address it? Please 
provide it via Reply privately to author option.

"4) Things keep getting better and better as any column named "type" NEEDS TO 
BE QUERIED with the original name, but HAS TO BE READ as "type_". "
-To take a closer look at this issue, could you also provide the complete 
request

Re: So many bugs & broken things

2021-05-26 Thread Mat
Hi Deny,

I feel you.

2) I opened an issue 
 regarding this 
point a few days ago. There is an answer from the Python library 
maintainers too, that works for me.

3) I did not run into this issue yet. At least I hope so (would be very 
bad). Could you provide an example?

4) This is not limited to fields named "type". Technically, this could 
affect many other field-names 

 
too.
But there is hope: "# We make SOME exceptions for certain names that 
collide with builtins." 

 ^^

Regards
Mat

deny.w...@wmccann.com schrieb am Dienstag, 25. Mai 2021 um 18:47:22 UTC+2:

> 1) google_ads changed to googleads in class path: REALLY guys, you 
> couldn't live with an old name, you had to go ahead and BREAK THINGS for 
> users? If we are so irrelevant, why bother developing stuff and releasing 
> it publicly?
>
> 2) To whom it may concern,  MessageToJson and MessageToDict from 
> google.protobuf.json_format no longer work. I've created a workaround, but 
> really who cares?
>
> 3) When issuing search_stream and querying ad_group, ad_group_ad, etc., 
> "where campaign.id = x" no longer works, bringing no results. The 
> reason I was using this was so I could implement some sort of incremental 
> query based on campaign age and status, otherwise we get a HUGE amount of 
> data in the results (I'm responsible for Coca-Cola, General Motors, Nestle 
> and some other large accounts in Brazil). Now we have to go back to 
> filtering by client which is in practice no filter at all, and by doing 
> that we'll clog your servers, congratulations.
>
> 4) Things keep getting better and better as any column named "type" NEEDS 
> TO BE QUERIED with the original name, but HAS TO BE READ as "type_". 
>
> If I sound pissed is because I AM. At this point, all things being equal, 
> I'm recommending ANYTHING but google to my clients. Your devs are 
> unbelievably incompetent, and I would bet good money they think they're 
> incredible (Dunning-Kruger anyone?). Complexity is not a measure of 
> success, quite the opposite in fact. Your code is HORRIBLE and an 
> embarrassment to Google.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae1537e9-40e7-482b-99c1-d6d210722c2cn%40googlegroups.com.


The clicks on the user interface differs from the value in the API

2021-05-26 Thread Noémi Molnár
The following request returns a higher value than the interface with the 
same settings (date range, filters, etc.): 
 "body": "__fmt=CSV&__rdquery=SELECT CampaignId, CampaignName, Id, 
Criteria, KeywordMatchType, Clicks FROM KEYWORDS_PERFORMANCE_REPORT WHERE 
Impressions > 0 AND CampaignId IN [\"1712687432\"] DURING 
20210101,20210331",
"url": "https://adwords.google.com/api/adwords/reportdownload/v201809";

For example the  clicks value for 'Diseases of the Liver" & "liver failure" 
is 1753 on the user interface and the sum of the values returned from the 
API is 1826 (1753+73+0+0). 

What can cause this difference?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/13fff823-0f32-40ce-be4f-d8998b9ed899n%40googlegroups.com.


Re: Account label limit

2021-05-26 Thread Mat
Hi Mark,

1) 1000 as the maximum number of accounts a label can be applied to seems 
to be the Goolge Ads API limit too:
https://developers.google.com/google-ads/api/docs/best-practices/system-limits#label

2) You could pull a customer_label 
 
report and just count the rows or the number of different "
customer_label.resource_name 
"
 
you get.

Cheers
Mat



Mark schrieb am Mittwoch, 26. Mai 2021 um 11:09:23 UTC+2:

> Hello,
>
> I'm looking to implement a feature to automatically apply account labels 
> to client accounts. While the basic feature works, I have a few questions 
> about scalability.
>
> The Ad Words API docs  
> clearly
>  
> state that one label can only be added to 1000 accounts at most, a 
> limitation we'd hit rather soon. The Google Ads API equivalent, 
> CustomerLabelService 
> ,
>  
> does not seem to have such a limitation, or at least it's not documented. 
>
> So, my questions:
> 1) Is the 1000-accounts-per-label limitation actually in place for both Ad 
> Words and Google Ads APIs? 
> 2) If so, is there any way -- with either API -- to check how many 
> accounts any one label has been attached to? 
>
> Cheers,
> Mark
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4d15a97f-4f4c-4b44-ae31-14e38d28c068n%40googlegroups.com.


Re: TWO_STEP_VERIFICATION_NOT_ENROLLED Only for UserList

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Xiaoying,

Thank you for reaching out. Please share the complete request and response logs 
via the Reply privately to author option.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2HBhJo:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/BhuEC0QTPT9F00DU1N9Ap7TTSLIcUFA5EmRw%40sfdc.net.


Re: Error: QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use the Google Ads API.'

2021-05-26 Thread 360Tech Explorer
Hi

I think you didn't get the context i mean i have the same error. I am 
asking you Is you get the solution.

help me at: https://groups.google.com/g/adwords-api/c/BPf4-GaTnfs

Thanks

On Tuesday, 11 May 2021 at 14:13:47 UTC+5:30 Roberto S wrote:

>
> Hi, 
> I use AdGroupCriterionService for 'query' and 'mutate' operations.
> When I use 'query' operation everything works correctly but when I try
> to mutate some criteria the api returns:
> *QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use 
> the Google Ads API.'*
>
> I am using *googleads-php-lib* ( 
> https://github.com/googleads/googleads-php-lib),
> this means that instead I have to use *google-ads-php* ?
>
> Thanks,
> Roberto
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aeb4508e-c2eb-4fd1-8951-e46a526716dfn%40googlegroups.com.


[QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use the Google Ads API.']

2021-05-26 Thread 360Tech Explorer

Hi,

To be honest I don't like the the doc of google ads api 
.

Docs say that i have to create a Manage account (non-test) i did same and 
request the basic access. with that i also setup Oauth2.0 with this same 
email. (comp...@gmail.com)

Then I create another Google "Test manager account" with different email. 
(test-account-x...@gmail.com)

then i authorize the Test account (test-account-x...@gmail.com) and get 
refresh token as well.

After that when i run the script it though this error:
[QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use 
the Google Ads API.']

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/58dfc619-9f26-4740-a630-ac5997164efan%40googlegroups.com.


Re: Error: QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use the Google Ads API.'

2021-05-26 Thread 360Tech Explorer
Hi Roberto,
I hope all is going well.

I here to asked you about this issue.
I have same issue, Have you solved this?

Thanks
On Tuesday, 11 May 2021 at 14:13:47 UTC+5:30 Roberto S wrote:

>
> Hi, 
> I use AdGroupCriterionService for 'query' and 'mutate' operations.
> When I use 'query' operation everything works correctly but when I try
> to mutate some criteria the api returns:
> *QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'New developers must use 
> the Google Ads API.'*
>
> I am using *googleads-php-lib* ( 
> https://github.com/googleads/googleads-php-lib),
> this means that instead I have to use *google-ads-php* ?
>
> Thanks,
> Roberto
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2ecc06c1-6deb-4eb2-b5d6-8f65c36a7492n%40googlegroups.com.


How to import conversion by rest API

2021-05-26 Thread melon
Hi, 

I'd like to import conversions from ad clicks into Google Ads, how to 
import the conversions files by rest APIs rather than the build-in 
API(AdWords)? 

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9388b121-28b8-47c2-a2db-55bf3f889c66n%40googlegroups.com.


Re: ListInvoices-error (PermissionDenied)

2021-05-26 Thread Asle Furuseth
I'm sorry, but I can not see the "*Reply privately to author"*-option*.*

I have tried different views and browsers but cannot find that option.

[image: Capture.PNG]
onsdag 26. mai 2021 kl. 03:43:55 UTC+2 skrev adsapiforumadvisor:

> Hi Asle,
>
> Thank you for posting your concern.
>
> The USER_PERMISSION_DENIED 
> 
>  error 
> occurs when authenticating as an user with access to a manager account but 
> not specifying *login-customer-id* in the request. However, since you've 
> mentioned that you used the *729-444-8259* in *login-customer-id *where 
> the client account *489-091-5856 *is under, then the error should not 
> occurred.
>
> With this, to further investigate the issue, could you provide the user 
> account / email address used to generate Oauth2 credential 
> 
>  
> and the complete request 
> 
>  
> and response 
> 
>  
> logs with request ID 
> 
>  
> generated on your end where we can see the issue? Please provide it via 
> *Reply 
> privately to author* option.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HDVYN:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4b4e6e96-50f3-497b-aa7a-07ccd8500dfbn%40googlegroups.com.


Account label limit

2021-05-26 Thread Mark
Hello,

I'm looking to implement a feature to automatically apply account labels to 
client accounts. While the basic feature works, I have a few questions 
about scalability.

The Ad Words API docs  
clearly
 
state that one label can only be added to 1000 accounts at most, a 
limitation we'd hit rather soon. The Google Ads API equivalent, 
CustomerLabelService 
,
 
does not seem to have such a limitation, or at least it's not documented. 

So, my questions:
1) Is the 1000-accounts-per-label limitation actually in place for both Ad 
Words and Google Ads APIs? 
2) If so, is there any way -- with either API -- to check how many accounts 
any one label has been attached to? 

Cheers,
Mark

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c6b92786-87be-48c9-a0c7-04fc85a2bfc8n%40googlegroups.com.


Re: Setting Conversions to Campaigns - AdwordsAPI

2021-05-26 Thread Google Ads API Forum Advisor Prod
Hi Pradeep,

Thank you for your follow up questions. I work with Matt and allow me to assist 
you.

Can you provide me with information on which type of campaigns support multiple 
Conversions

Since this is more of a product related concern, I would recommend that you 
reach out instead to the Google Ads Product support team, via this link, for 
further guidance if multiple conversions is supported in the different campaign 
types.

In Google UI, I am able to add multiple conversions to "Search" Campaign by 
creating Conversion Set. So can I achieve the same thing in API . If so how can 
I do it?

This is currently not supported in the API. That said, allow me to create a 
feature request, subject for review. For now, you may keep an eye on our blog 
for updates or announcements.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2HCXjz:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4-6gv0QTPH9200HbN1bemkTdSK4OQOGcsmYQ%40sfdc.net.


Google ADS API campaign Statuses

2021-05-26 Thread 'Somnath Jadhav' via AdWords API and Google Ads API Forum

Hope you are doing well.
I have a query regarding the below statuses for the Campaign from Google 
Ads API(
https://developers.google.com/google-ads/api/fields/v7/campaign#campaign.status
):

   1. UNKNOWN
   2. UNSPECIFIED

*Questions*
Can you please provide the equivalent mapping of these campaign statuses in 
Google Ads Admin UI as there are no such values for the campaign status 
filter over there?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9e204abc-209f-4842-9178-75463dd53ea5n%40googlegroups.com.


Re: refresh_token update in the background

2021-05-26 Thread Alex T
Hi Ernie, thanks for the clarification.

вторник, 25 мая 2021 г. в 04:48:02 UTC+3, adsapiforumadvisor: 

> Hi Alex,
>
> Thank you for posting your concern.
>
> You may refer to this document 
>  to 
> read more information about refresh token expiration. Since you are 
> noticing that your refresh token expires every week, then it appears that 
> the scenario below is happening at your end.
> "*A Google Cloud Platform project with an OAuth consent screen configured 
> for an external user type and a publishing status of "Testing" is issued a 
> refresh token expiring in 7 days.*"
>
> Unfortunately, this is already outside of our scope and would not be able 
> to provide answer to your questions below. With this, I would suggest 
> posting your questions on this support channel 
>  instead to 
> get answer from the more equipped team for this topic.
>
> "
>
> *Is it possible to get a refresh_token once and then update it in the 
> background, without starting the browser and all the follow up?  Or, is it 
> possible to increase refresh_token lifetime?*"
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HD9KV:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/768622eb-b005-46c5-8b45-cf53a1cb01e7n%40googlegroups.com.


Re: Execute "Exclude from ad group" via API

2021-05-26 Thread Alex T
Hi Peter,

the "negative" attribute is what I needed, for some reason I thought that 
it only applies to keywords)

Thank you for help.

вторник, 25 мая 2021 г. в 09:39:10 UTC+3, adsapiforumadvisor: 

> Hi Alex,
>
> Thank you for reaching out to our API support team.
>
> Regarding your concern about successful API transactions (no API errors) 
> for criteria and those not reflecting properly via the UI, I would 
> recommend that you reach out to the Google Ads Product Support team, via 
> this link , to learn more 
> if it is intended behavior on their end to not display certain 
> status/attributes.
>
> As for your below statement :
>
> *Also when "Exclude from ad group" in Google Ads API, the API returns 
> ENABLED status ; How can I execute "Exclude from ad group" via API ?*
>
> The ENABLED status 
> 
>  
> indicates that a certain criteria is currently actively targeting or being 
> excluded in your account. If by exclude you meant REMOVED then you will 
> need to perform a mutate request to remove the said criteria.
>
> As for excluding (negative) criteria, you will need to create the said 
> criteria (AgeRangeInfo 
> )
>  
> at the ad group level using the AdGroupCriterionService 
> 
>  
> and specify the negative 
> 
>  
> attribute as TRUE. Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HD919:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/137c5eb5-00ee-4436-b9ef-5cde041ecbf9n%40googlegroups.com.


Get a developer token with read-only access

2021-05-26 Thread Thomas Duvette
Hello,
I work for a client who gave me read-only access to his google ads account 
and I would like to use the API to create reports and send them by email, 
can we use the API when our account is only read rights?

How to get a developer token and OAuth credentials? it will be the admin 
account that will have to give it to me? thanks in advance

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aa743e7d-3195-43ff-b98c-c27bed4996f8n%40googlegroups.com.


Re: How to receive updates about disapproved ads (for policy violation)

2021-05-26 Thread Dylan
Hi Xiaoming,

thanks for the quick reply and the helpful advise!
Just to summarize, there really is no way to receive notifications from 
Google to our server for each new policy violation in any way, right? 
Facebook Ads API for example allows us to subscribe to certain events and 
then sends a webhook whenever a policy violation (or other selected event) 
happens. So we thought we must be missing a similar feature in the Google 
Ads API. 
But as I understand now, with Google Ads we have to poll the API in a 
regular interval to get this information instead, correct?

Thanks and best regards,
Dylan

On Thursday, May 20, 2021 at 6:16:59 PM UTC+2 adsapiforumadvisor wrote:

> Hi Dylan,
>
> Thank you for reaching out. You could fetch the ad approval information 
> from the combinedApprovalStatus attribute of the PolicySummary 
> 
>  
> object from the Ad Performance Report 
> 
> .
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HCLXP:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf53e5ce-1a9e-4730-948d-f6d9b249110bn%40googlegroups.com.


Conversions fields dont work

2021-05-26 Thread Vadim Nemchenko
Hello,

Earlier I had the following query in AWQL -  
SELECT 
AccountDescriptiveName,AccountTimeZone,AdGroupId,AdGroupName,ConversionTrackerId,AdNetworkType1,AdNetworkType2,CampaignId,CampaignName,CampaignStatus,CountryCriteriaId,Conversions,CostPerConversion,Date
 
FROM GEO_PERFORMANCE_REPORT DURING 20190901,20210512

Now It says i cannot combine for example  ConversionTrackerId with some 
metrics and fields. But  I need that field or at least filter by it which I 
can't do neither. So, what should I do? Can't find any information how to 
combine them

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3582c4b8-a352-448e-a374-2be00b89bf38n%40googlegroups.com.


Re: Link Checker Script - Draft & Campaign exclusion

2021-05-26 Thread Michele Mereu
Sorry about that, I just followed the link on the script page. I will post
there then, thanks!

On Wed, May 26, 2021 at 8:01 AM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Michele,
>
> Thank you for posting your concern.
>
> Please note that this public forum is dedicated for Google Ads API
>  / AdWords API
>  related
> concerns / issues only. Our team can only provide support to the concerns /
> issues related to the said APIs as well.
>
> Since your concern is about Google Ads scripts
> , then I am afraid that
> I would not be able to provide support to your concern as it is outside of
> our expertise. With this, I would suggest posting your concern here
>  instead to get assistance
> from the more equipped team that can provide support to your concern.
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2HDZW3:ref
>


-- 
Micky Mereu
*Managing Director*
e michele.mereu@midsummer.agency
t +39 070 796 8688
a Open Campus, Cagliari, Italy
w midsummer.agency


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CA%2Bqyqe9K4Q2-vE6bOfPb04hoW2NogkJGsvX0Y3%3D8SqGUcPcC4g%40mail.gmail.com.


Error when creating Display Campaign - CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN: Cannot attach bidding strategy to campaign.

2021-05-26 Thread Антон Бендриков
Hello,

when attempting to create a Display Campaign with advertising_channel_type 
"DISPLAY", I get the following error:

error_code: {bidding_error: "CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN"}
message: "Cannot attach bidding strategy to campaign."
trigger: {string_value: ""}

Campaign parameters:
{
  advertising_channel_type: "DISPLAY",
  bidding_strategy: "customers/1275322088/biddingStrategies/7743946871",
  campaign_budget: "customers/1275322088/campaignBudgets/8782279878",
  name: "Test Campaign",
  start_date: "2021-05-26"
}

The Bidding Strategy is created before that successfully:
{
  maximize_conversions: {},
  name: "Test Campaign Bidding Strategy (f4eX)"
}

Campaign Budget:
{
  amount_micros: 2300,
  name: "Test Campaign Campaign Budget (9Yk7)"
}

---

This works if I use advertising_channel_type "SEARCH", for example.

Am I using the wrong type bidding strategy? I tried different ones but 
couldn't find one that seems to work.

Or is the issue elsewhere?

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/37517432-bac5-4bc1-9fab-d15a6ae339e9n%40googlegroups.com.