Re: About AdsAPI from RubyGem's AdWordsAPI

2022-10-26 Thread KimihiroMurayama
Thank you.
2022年10月26日水曜日 19:21:23 UTC+9 adsapi:

> Hi Kimihiro,
>
> Thank you for reaching us out. I am Sherwin from Google Ads API support 
> team. I hope that you are doing well today.
>
> Moving forward to your concern, we can see here that you created 2 
> separate threads with the same issue. My colleague Carmela already replied 
> to the other thread with a subject "*Regarding RubyGem's migration from 
> AdWordsAPI to AdsAPI*". With that being said, please reply to that thread 
> as my colleague already replied to it to avoid confusion.
>
> Kind regards, 
> [image: Google Logo] 
> Sherwin Vincent 
> Google Ads API Team 
>   ​​​
>
> ref:_00D1U1174p._5004Q2foFB4: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 
"Google Ads API and AdWords 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/4b3fa477-366d-43ec-a55f-052f31b9f868n%40googlegroups.com.


Re: Two questions regarding retrieving responsive search ad data

2022-10-26 Thread Stepanian
Actually, the ad_group_asset_view report accomplishes what I need. A query 
can include the asset.text_asset.text, which retrieves the headline or 
description text.

Thanks!

On Wednesday, October 26, 2022 at 12:08:21 PM UTC-7 Stepanian wrote:

> Hi Peter, 
>
> Thanks for the response. It is helpful.
>
> One follow-up question: These two reports return resource names and field 
> types (e.g. headline, description, etc.) for each asset. How can we know 
> which specific headline or description each asset is? The 
> headlines/descriptions lists returned in the ad_group_ad report do not have 
> resource names associated with each headline/description.
>
> Thank you.
>
> On Wednesday, October 26, 2022 at 10:54:01 AM UTC-7 adsapi wrote:
>
>> Hi Stepanian,
>>
>> You can check out the below reports, for reporting on the impressions 
>> associated to the Responsive Search Ad and its asset : 
>>
>>- ad_group_ad_asset_view 
>>
>> 
>>  
>>- ad_group_ad_asset_combination_view 
>>
>> 
>>  
>>
>> Let us know how this goes on your end.
>>
>> Best regards,
>>
>> [image: Google Logo] 
>> Peter Laurence 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2foDly: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 
"Google Ads API and AdWords 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/48e4fad1-8b32-48ef-9aeb-f10a012ec60bn%40googlegroups.com.


Re: REST API endpoint for GenerateKeywordIdeas

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi David,

The refresh tokens are created with the client ID and client secret, and not 
for specific accounts. However, the user email that created the client ID and 
client secret must be a listed user in the account (test or production) that is 
being targeted.

Can you please provide us with steps that you are taking to create the refresh 
token? Also, can you please tell us at which point the 'Access blocked' screen 
appears?

Regards,

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2foDeT: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 
"Google Ads API and AdWords 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/5otk50RKDOD000Bf23nsfRRriWiLwBlQOQ_Q%40sfdc.net.


Re: Two questions regarding retrieving responsive search ad data

2022-10-26 Thread Stepanian
Hi Peter, 

Thanks for the response. It is helpful.

One follow-up question: These two reports return resource names and field 
types (e.g. headline, description, etc.) for each asset. How can we know 
which specific headline or description each asset is? The 
headlines/descriptions lists returned in the ad_group_ad report do not have 
resource names associated with each headline/description.

Thank you.

On Wednesday, October 26, 2022 at 10:54:01 AM UTC-7 adsapi wrote:

> Hi Stepanian,
>
> You can check out the below reports, for reporting on the impressions 
> associated to the Responsive Search Ad and its asset : 
>
>- ad_group_ad_asset_view 
>
> 
>  
>- ad_group_ad_asset_combination_view 
>
> 
>  
>
> Let us know how this goes on your end.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2foDly: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 
"Google Ads API and AdWords 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/5aced3e6-455f-4eed-9d15-c9e30c39bd55n%40googlegroups.com.


Re: Error in Google Ads API: change_event.client_type - Changes via "GOOGLE_ADS_EDITOR" are missing.

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mat,

That's strange... Do you have a request ID or a query + customer ID you could 
share with me?

Regards
Anash
ref:_00D1U1174p._5004Q28otVg: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 
"Google Ads API and AdWords 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/00KG80RKDFBA00jp-Mk_LuTSCBdS7rhHqqbw%40sfdc.net.


Re: REST API endpoint for GenerateKeywordIdeas

2022-10-26 Thread David Pollak
Thank you for that clarification. I have now set up a test account. However 
I am unable to generate a refresh token for that account using my Oauth2 
desktop flow. I am getting an "Access blocked" error, with a message that 
it can only be used within its organization. I added the email address for 
the test account to my project and it is still blocked.

Please see the attached screenshots-

Thanks!



On Wednesday, 26 October 2022 at 12:52:21 UTC-4 adsapi wrote:

> Hi David,
>
> Thank you for your reply. I work with Carmela and allow me to assist you 
> here.
>
> With regard to your concern, allow me to explain this, upon seeing the 
> provided logs, I can see that you are encountering the 
> DEVELOPER_TOKEN_NOT_APPROVED 
> 
>  error 
> as your developer token is with the Test access only, however, you were 
> trying to make API calls to a production account. Please note that 
> non-approved developer tokens can only be used with test accounts 
> .
>  
> That said, you can apply for Basic Access by following the steps outlined 
> here 
> 
> .
>
> Moving forward, if you want to know the updates / status of your API Basic 
> Access application, I would suggest you reach out to the compliance team 
> , they will review your 
> request and they are the ones who process and approve this kind of 
> request. Let me know if you have further questions.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2foDeT: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 
"Google Ads API and AdWords 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/dd7953d2-e90e-496d-868e-47f7a94fb75an%40googlegroups.com.


Re: REST API endpoint for GenerateKeywordIdeas

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi David,

Thank you for your reply. I work with Carmela and allow me to assist you here.

With regard to your concern, allow me to explain this, upon seeing the provided 
logs, I can see that you are encountering the DEVELOPER_TOKEN_NOT_APPROVED 
error as your developer token is with the Test access only, however, you were 
trying to make API calls to a production account. Please note that non-approved 
developer tokens can only be used with test accounts. That said, you can apply 
for Basic Access by following the steps outlined here.

Moving forward, if you want to know the updates / status of your API Basic 
Access application, I would suggest you reach out to the compliance team, they 
will review your request and they are the ones who process and approve this 
kind of request. Let me know if you have further questions.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2foDeT: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 
"Google Ads API and AdWords 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/Tm9fB0RKDDIQ00trr5kic9QbKy9XAjtawbYA%40sfdc.net.


Re: Two questions regarding retrieving responsive search ad data

2022-10-26 Thread Stepanian
Hi Sherwin, 

Thank you for your response. 

In the query you specified, it appears the impressions number we would get 
would be applicable to the entire ad not to the specific headlines and 
descriptions, isn't that correct? I need the impressions for each 
individual headline and description. How would I accomplish that?

Thanks.

On Wednesday, October 26, 2022 at 12:41:08 AM UTC-7 adsapi wrote:

> Hi Stepanian,
>
> Thank you for reaching us out. I am Sherwin from Google Ads API support 
> team. I hope that you are doing well today.
>
> We are glad that you've found the answer to your second question. Now let 
> me try to answer your question number 1 about *how to get the number of 
> impressions for each individual description and headline associated with a 
> responsive search ad*? You can get it by using the ad_group_ad 
>  report. 
> You may include ad_group_ad.ad.responsive_search_ad.descriptions 
> 
> , ad_group_ad.ad.responsive_search_ad.headlines 
> 
> , metrics.impressions 
> 
>  in 
> the "*FROM*" clause. And then you should include the ad_group_ad.ad.type 
> 
>  and 
> select the RESPONSIVE_SEARCH_AD in the "*WHERE*" clause. You may use this 
> GAQL 
> 
>  to 
> create a query.
>
> Please let us know if this works on your end.
>
> Kind regards, 
> [image: Google Logo] 
> Sherwin Vincent 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2foDly: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 
"Google Ads API and AdWords 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/c13536e3-fd76-4b5f-9f04-0efdebf6700an%40googlegroups.com.


Re: REST API endpoint for GenerateKeywordIdeas

2022-10-26 Thread David Pollak
UPDATE:

I see now that my account is not a test account.

I opened a test account under a different user. However it does not look 
like there is a way to get developer credentials for a test account.

I tried using Ouath2 desktop flow to generate a refresh token to use with 
the other account but I am being denied due to that email address not being 
in my organization.

I added that email address to my organization and I am still getting the 
same error.

Can you please help me resolve this?

Thanks!

On Wednesday, 26 October 2022 at 12:18:37 UTC-4 David Pollak wrote:

> Hi,
>
> Thank you for that information. 
>
> I set up a request which is returning an error that my developer token is 
> only authorized for use with test accounts. The customer id I am using is 
> the one from the account I received the API developer token from, which I 
> believe is a test account.
>
> Can you  please help me resolve this?
>
> Thanks!
>
> Error details below:
>
> {
> "error": {
> "code": 403,
> "message": "The caller does not have permission",
> "status": "PERMISSION_DENIED",
> "details": [
> {
> "@type": "
> type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
> "errors": [
> {
> "errorCode": {
>
> "authorizationError": 
> "DEVELOPER_TOKEN_NOT_APPROVED"
> },
>
> "message": "The developer token is only approved for 
> use with test accounts. To access non-test accounts, apply for Basic or 
> Standard access."
> }
> ],
> "requestId": "cSZpS7mP3TRX8BzGms6QNg"
> }
> ]
> }
> }
>
>
>
>
>
> On Wednesday, 26 October 2022 at 03:33:09 UTC-4 adsapi wrote:
>
>> Hi David,
>>
>> This is Carmela from the Google Ads API team. Thank you for reaching out.
>>
>> With regard to your concern, I understand that you are looking for the 
>> REST endpoint for the KeywordPlanIdeaService.GenerateKeywordIdeas. Having 
>> said that, please see this REST documentation 
>> 
>>  
>> for generateKeywordIdeas. Let me know if this is what you're looking for.
>>
>> Regards,
>> [image: Google Logo] 
>> Carmela 
>> Google Ads API Team 
>>
>>
>> ref:_00D1U1174p._5004Q2foDeT: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 
"Google Ads API and AdWords 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/129a67dd-7d1e-4128-b36d-19ed77b6892en%40googlegroups.com.


Re: REST API endpoint for GenerateKeywordIdeas

2022-10-26 Thread David Pollak
Hi,

Thank you for that information. 

I set up a request which is returning an error that my developer token is 
only authorized for use with test accounts. The customer id I am using is 
the one from the account I received the API developer token from, which I 
believe is a test account.

Can you  please help me resolve this?

Thanks!

Error details below:

{
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"authorizationError": "DEVELOPER_TOKEN_NOT_APPROVED"
},
"message": "The developer token is only approved for 
use with test accounts. To access non-test accounts, apply for Basic or 
Standard access."
}
],
"requestId": "cSZpS7mP3TRX8BzGms6QNg"
}
]
}
}





On Wednesday, 26 October 2022 at 03:33:09 UTC-4 adsapi wrote:

> Hi David,
>
> This is Carmela from the Google Ads API team. Thank you for reaching out.
>
> With regard to your concern, I understand that you are looking for the 
> REST endpoint for the KeywordPlanIdeaService.GenerateKeywordIdeas. Having 
> said that, please see this REST documentation 
> 
>  
> for generateKeywordIdeas. Let me know if this is what you're looking for.
>
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>
>
> ref:_00D1U1174p._5004Q2foDeT: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 
"Google Ads API and AdWords 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/7fddf4af-52d8-41c2-88bb-1f3fb408bf90n%40googlegroups.com.


RE: create operation PERFORMANCE MAX campaign

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello,

Thanks for reaching out. I can see in your request that the 
advertisingChannelType is set to 'SEARCH'. You should set this type to 
'PERFORMANCE_MAX'.

I would recommend using the PHP client library, which includes a PHP example 
for creating Performance Max campaigns.

Regards,

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2foOVp: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 
"Google Ads API and AdWords 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/GWz2Q0RKD9P300yavO9014QTGFvEz-DfDjOA%40sfdc.net.


RE: Accessing enums in Google.Ads.GoogleAds.V11

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Bruce,

Thank you for raising this concern to the Google Ads API Forum.

With regard to your concern, upon checking your provided codes, it appears that 
this is more related to the client libraries so our team cannot provide support 
as it is outside of our scope already. With this, you may reach out to the 
author of your client library via one of the github issue trackers below:

google-ads-java
google-ads-dotnet
google-ads-php
google-ads-ruby
google-ads-perl


Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2foIYG: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 
"Google Ads API and AdWords 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/MRwYJ0RKD82J00PPPUGin0Qvy-gG1swX0v9A%40sfdc.net.


Re: create operation PERFORMANCE MAX campaign

2022-10-26 Thread Jip Veerbeek
 
'https://www.googleapis.com/oauth2/v3/token?grant_type=refresh_token_id=12345678910_secret=asecret',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Content-length: 0'
  ),
));

//1 code
$response = curl_exec($curl);
$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);

if ($httpcode == 200) {
$response = json_decode($response, true);
$accesToken = $response['access_token'];
$fullAccesToken = 'Authorization: Bearer ' . $accesToken;
//print_r($accesToken);

//2 budget id aanmaken

$curl2 = curl_init();

curl_setopt_array($curl2, array(
CURLOPT_URL => 
'https://googleads.googleapis.com/v11/customers/123456789/campaignBudgets:mutate',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"operations": [
{
"create": {
"name": "My Campaign Budget ysdwpnzgs",
"amountMicros": 50
}
}
]
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'developer-token: ',
'login-customer-id: 123456789',
$fullAccesToken
),
));

//2 code
$response2 = curl_exec($curl2);
$httpcode2 = curl_getinfo($curl2, CURLINFO_HTTP_CODE);

if ($httpcode2 == 200) {
$response2 = json_decode($response2, true);
$budgetId = $response2['results'][0]['resourceName'];
print_r($budgetId);

//3 Create campaign

$curl3 = curl_init();

curl_setopt_array($curl3, array(
CURLOPT_URL => 
'https://googleads.googleapis.com/v11/customers/123456789/campaigns:mutate',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"operations": [
{
"create": {
"name": "An campaign testt28",
"status": "PAUSED",
"campaignBudget": "' . $budgetId . '",
"advertisingChannelType": "SEARCH",
"networkSettings": {
"targetGoogleSearch": true,
"targetSearchNetwork": true,
"targetContentNetwork": true,
"targetPartnerSearchNetwork": false
},
"target_spend": {}
}
}
]
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'developer-token: ',
'login-customer-id: 123456789',
$fullAccesToken
),
));

//3 code
$response3 = curl_exec($curl3);
$httpcode3 = curl_getinfo($curl3, CURLINFO_HTTP_CODE);
print_r($response3);
// if ($httpcode3 == 200) {
// $response3 = json_decode($response3, true);
// $campaignId = $response3['results'][0]['resourceName'];
// print_r($campaignId);
// }


// //foutcode
// else {
// echo 'fout bij 3';
// }

}

else {
echo 'fout bij 2';
}
}
else {
echo 'fout bij 1';
}


On Wednesday, October 26, 2022 at 4:41:43 PM UTC+2 Jip Veerbeek wrote:

> Hello, I am trying to create an Performance Max Campaign with the google 
> ads API. I am building the request in php and I have managed to create an 
> Search campaign. I have tried multiple things to transform my code to make 
> an  Performance Max Campaign without succes. I will send the code along and 
> I hope someone can help me.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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 

create operation PERFORMANCE MAX campaign

2022-10-26 Thread Jip Veerbeek
Hello, I am trying to create an Performance Max Campaign with the google 
ads API. I am building the request in php and I have managed to create an 
Search campaign. I have tried multiple things to transform my code to make 
an  Performance Max Campaign without succes. I will send the code along and 
I hope someone can help me.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/61abc9e3-954f-4fc3-8b9d-3efaf308d557n%40googlegroups.com.
<>


Re: Problem with Lead Form Webhook

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Shehan,

Thank you for replying to this email thread.

Please note that our team can only provide support to the issues and concerns 
related to the Google Ads API. However, since your concern is more of the lead 
form webhook, then I am afraid that we would not be able to provide support 
here as it is outside of our expertise already. With this, you may try reaching 
out as well to the more equipped team via the links below:
https://developers.google.com/google-ads/webhook/docs/support
https://support.google.com/google-ads/gethelp

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2ZKIPs: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 
"Google Ads API and AdWords 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/zqSyo0RKD41600DxX4gnUMTpqfcvKHAQnljw%40sfdc.net.


RE: About AdsAPI from RubyGem's AdWordsAPI

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Kimihiro,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I 
hope that you are doing well today.

Moving forward to your concern, we can see here that you created 2 separate 
threads with the same issue. My colleague Carmela already replied to the other 
thread with a subject "Regarding RubyGem's migration from AdWordsAPI to 
AdsAPI". With that being said, please reply to that thread as my colleague 
already replied to it to avoid confusion.

Kind regards,

Sherwin Vincent
Google Ads API Team

​​​
ref:_00D1U1174p._5004Q2foFB4: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 
"Google Ads API and AdWords 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/JI1k40RKCVF000vKcJaHCDT7G4vI8pEMyfcw%40sfdc.net.


Re: Problem with Lead Form Webhook

2022-10-26 Thread Shehan Jayasinghe
If anyone viewing can help me, please 
check 
https://support.google.com/google-ads/thread/183873766/leadform-not-firing-webhook
 
on the google ads community thread. Thank you

On Wednesday, October 26, 2022 at 5:17:11 PM UTC+11 adsapi wrote:

> Hi Shehan,
>  
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>
>
> With regards to your issue about this, *"We've posted on the links you've 
> added here but no one is getting back to us. We've contacted google support 
> chat but they say they're not an expert on this issue. Please let us know 
> who can look into this as we can't retrieve our leads." *I understand 
> your situation right now but the only team can help you to retrieve you 
> lead is the team he mention by my colleague, allow me to reiterate again my 
> colleague said, *"Unfortunately, our team does not have the expertise to 
> assist with the Webhook API. According to the **support section * 
> *of the 
> Lead Form Webhook documentation, **the Ads community* 
> * is the recommended 
> place to ask for help on this." *If you have posted your concern to the 
> said Ads community. I suggest to wait for their response to your post 
> concern.
>  
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ZKIPs: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 
"Google Ads API and AdWords 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/c22d49f1-5c16-4ebb-844b-5e8d2e5ef6fen%40googlegroups.com.


Accessing enums in Google.Ads.GoogleAds.V11

2022-10-26 Thread Bruce Axtens
I have code running the following snippet
```
PagedEnumerable 
searchPagedResponse =
googleAdsService.Search(request);

foreach (GoogleAdsRow googleAdsRow in 
searchPagedResponse)
{
```
Currently I'm serializing the googleAdsRow to JSON and back again so that I 
can programmatically access the values. There's probably a much better way 
but I haven't figured it out yet.

When I'm in Visual Studio's debugger I can access the values in 
googleAdsRow by entering things like `googleAdsRow.Customer.Id`. Fine, but 
suppose I'm passing in a string describing that path. How do I evaluate the 
contents of googleAdsRow so as to access Customer's Id and Campaign's Id 
and AdGroupAd.PolicySummary.ReviewStatus?

-- Bruce

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/a846e43f-7ba0-4a2a-92b9-4ec242d55deen%40googlegroups.com.


RE: Google Ads API and DV 360 API

2022-10-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to the Google Ads API team.

With regard to your concern, kindly note that DV360 is a different platform 
which is utilizing the DV360 API. Having said that, if you happen to want 
customer audience lists available in DV 360, then you need to use the DV360 API 
to achieve that. If you want to do this, then I would suggest reaching out to 
the DV360 API support team via this link as our team only supports Google Ads 
API related concerns and as they are better equipped to provide guidance to you.

Regards,

Carmela
Google Ads API Team
ref:_00D1U1174p._5004Q2fo9D4: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 
"Google Ads API and AdWords 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/NdG2U0RKCJXA006vGSSyBXT3-MYW6qtd7Z7A%40sfdc.net.