Re: no login, how to get google ads api access token and refresh token?

2021-09-23 Thread Google Ads API Forum Advisor
Hi,

Thank you for the additional details. I work with Yasar and allow me to assist 
you as well.

Whether you will be using the desktop or the web app flow, you will still be 
required to perform steps via the browser for completing the process of 
generating your refresh token.

This should generally be a one time or rare process to perform. You can also 
check out this guide for causes on why your refresh token may become invalid, 
and therefore require you to generate them once more.

There is also the option of using a service account for authentication. 
However, as per the guide as well it states that :

We strongly recommend using OAuth2 desktop app or web app flow instead of 
service accounts unless you need a domain-specific feature (for example, 
impersonation). OAuth2 desktop app and web app flows do require an initial user 
interaction for granting access to the account, but are much simpler to set up.

I hope this helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2OSzV3: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/EnodX0QZX6PD00nDdHcJ1VT6Op5vNVoxYJrg%40sfdc.net.


Re: When I set up Bill Configuration,both UI and API return Error

2021-09-23 Thread Google Ads API Forum Advisor
Hi,

Thank you for all the information you have provided so far to our team.

However, I also had to delete your recent responses as it contained your logs. 
You may use the Reply privately to author option, or send over details such as 
the logs directly to our (googleadsapi-supp...@google.com) alias.

Moving forward, and before I raise the issue to the rest of our team, could you 
confirm whether you have already followed our guide when creating your billing 
setup? Are you using an existing payments account or will you be using a new 
payments account?

In addition, our team can only troubleshoot on the API's perspective. For the 
issue you encountered via the Google Ads UI, I would recommend that you discuss 
this separately with the Google Ads Product Support team instead, via this link.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2NV0Li: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/1YZV30QZX4JI0002LLC9f-QneZPFtZ726tqA%40sfdc.net.


RE: how to get authorization code for tokens through google ads api?

2021-09-23 Thread Google Ads API Forum Advisor
Hi,

One of the prerequisites to use Google Ads API is OAuth2 client ID and client 
secret/ OAuth2 access and refresh tokens. If you are using client libraries 
some of the operations can be performed smoothly like generating token and 
refreshing access token. To conclude, without using OAuth it is not possible to 
generate the authorization code or tokens.

https://developers.google.com/google-ads/api/docs/first-call/overview#config

Thanks,

Lakshmi Prathipati
Google Ads API Team
ref:_00D1U1174p._5004Q2OTNHC: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/ImeLr0QZWKPV00K1SaeJMHTYm2wJn47Qa-0A%40sfdc.net.


Re: UNEXPECTED_INTERNAL_API_ERROR When Removing And Adding Deleted Youtube Channel Criterion

2021-09-23 Thread Google Ads API Forum Advisor
Hi Dorian,

I'm a Developer Relations Engineer jumping in to help with this issue. I've 
routed this through to the team that works on Batch Jobs, but they're still in 
the process of investigating the root cause. I'll follow up here as soon as I 
have more information.

Thanks,
Ben, Google Ads API Team
ref:_00D1U1174p._5004Q2Mhwnf: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/AuLlV0QZWE5G00fENCjSfdSqWsvJWK8yReQQ%40sfdc.net.


RE: unable to retrieve data from adwords REST API USER_PERMISSION_DENIED

2021-09-23 Thread Google Ads API Forum Advisor
Hi Brian,

Thanks for posting your concern to us.

Upon checking logs, it appears that you’ve encountered ‘USER_PERMISSION_DENIED' 
error. The ‘USER_PERMISSION_DENIED’ usually occurs due to incorrectly setting 
the 'login-customer-id’ in the request or not specifying login-customer-id in 
the request. Note that when a user doesn't have permission to access a customer 
and you’re accessing a client customer then the manager's customer ID must be 
set in the 'login-customer-id’ in the header request.

To resolve this, you will need to ensure that your OAuth2 credentials were 
generated while logged in as the user / email address that has access to the 
customer ID in your request. Also, if the said user / email address is one that 
has access to the MCC / manager of the customer account, then you may specify 
the MCC / manager account's ID as the login-customer-id.

Furthermore, note that you received the DEVELOPER_TOKEN_NOT_APPROVED error when 
you tried to access the production accounts with the test developer access. It 
is intended to get the error DEVELOPER_TOKEN_NOT_APPROVED, since you would need 
to request for at least a basic access level for developer token if you would 
be making calls to your production Google Ads accounts, by filling up and 
submitting this application form.

For your question “What would be the url end point for getallcustomer?“, you 
may use the method: customers.listAccessibleCustomers in order to return 
resource names of customers directly accessible by the user authenticating the 
call.

Could you share the documentation you were referring to when you mentioned 
"OAuth 2.0 Playground not return any info if the "List possible operations" 
button is pressed"?

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2OTOP6: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/3ZkRy0QZWB4O00wMxppvK8Sz2oqO-jC22Ghw%40sfdc.net.


but I can't find audiences SEO & SEM Services

2021-09-23 Thread nidal zomlot
Hi there, 

We've been going through the Audience : 

https://developers.google.com/google-ads/api/docs/remarketing/audience-types/custom-audiences

but  I can't find audiences SEO & SEM Services

 Audiences. For example: 

SEO & SEM Services

Is that option available on the new 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/ea1f7888-b673-44ff-83fa-c54dd5ace7f4n%40googlegroups.com.


Re: Different result from AdWords API and GoogleAds API for Serving Status

2021-09-23 Thread Estanislao Ledesma
Hi,
If I make this request:
operations {
  create {
status: PAUSED
advertising_channel_type: SEARCH
network_settings {
  target_google_search: true
  target_search_network: true
  target_content_network: false
  target_partner_search_network: false
}
target_spend {
}
name: "Interplanetary Cruise #2021-09-23T11:11:00.240-0300"
campaign_budget: "customers/9938855968/campaignBudgets/9536671668"
start_date: "20211028"
end_date: "20211120"
  }
}
partial_failure: true
response_content_type: MUTABLE_RESOURCE

I get this response:
campaign {
resource_name: "customers/9938855968/campaigns/14746306003"
status: PAUSED
ad_serving_optimization_status: OPTIMIZE
advertising_channel_type: SEARCH
network_settings {
  target_google_search: true
  target_search_network: true
  target_content_network: false
  target_partner_search_network: false
}
geo_target_type_setting {
  positive_geo_target_type: PRESENCE_OR_INTEREST
  negative_geo_target_type: PRESENCE
}
payment_mode: CLICKS
name: "Interplanetary Cruise #2021-09-23T11:11:00.240-0300"
id: 14746306003
campaign_budget: "customers/9938855968/campaignBudgets/9536671668"
start_date: "2021-10-28"
end_date: "2021-11-20"
  }
}

Failure message: null
Status: Status{code=OK, description=null, cause=null}.

As you can see, in the response campaign there's no field 
campaign_serving_status, i.e., when I do this java code:
MutateCampaignsResponse response =
campaignServiceClient.mutateCampaigns(request);
System.out.printf("Added %d campaigns:%n", 
response.getResultsCount());
for (MutateCampaignResult result : response.getResultsList()) {
System.out.println(result.getResourceName());
System.out.println(result.getCampaign().getServingStatus());
}
The last line (System.out.println(result.getCampaign().getServingStatus());) 
prints: UNSPECIFIED. While if I make the same request in AdWords API, I get 
PENDING.
Hope this clarifies the issue.
Thanks,
Estanislao
El martes, 21 de septiembre de 2021 a las 11:15:42 UTC-3, jia...@twenga.com 
escribió:

> Hello,
>
>  
>
> Thanks for your reply, I copy all infos, please let me know if you have 
> any question ->
>
>  
>
> Client library version: 11
> Google Ads API version: 8
> My environment: php / laravel
> PHP version: 7.4
> System: Linux debian 4.19.0-17-amd64 #1 
>  SMP Debian 
> 4.19.194-3 (2021-07-18) x86_6415:48
> grpc:1.25.015:50, protobuf:3.18.016:13
>
> Description bug:
> I want to create a new campaign *shopping standard* with your example:
>
> https://developers.google.com/google-ads/api/docs/shopping-ads/create-campaign
>
> It doesn't work, and it return an error:
>
> Google\Ads\GoogleAds\Lib\V8\GoogleAdsException
>
> {
> "message": "Request contains an invalid argument.",
> "code": 3,
> "status": "INVALID_ARGUMENT",
> "details": [
> {
> "*@type* ": 
> "google.ads.googleads.v8.errors.googleadsfailure-bin",
> "data": "Unknown Binary Data"
> },
> {
> "*@type* ": "grpc-status-details-bin",
> "data": "Unknown Binary Data"
> },
> {
> "*@type* ": "request-id",
> "data": "Zqm7_UbKemvE7TxzKWDMnA"
> }
> ]
> }
>
> at 
> vendor/googleads/google-ads-php/src/Google/Ads/GoogleAds/Lib/V8/GoogleAdsExceptionTrait.php:75
> 71▕ 'previous' => $exception->getPrevious(),
> 72▕ 'metadata' => $exception->getMetadata(),
> 73▕ 'basicMessage' => $exception->getBasicMessage()
> 74▕ ];
> ➜ 75▕ return new GoogleAdsException($exception, $googleAdsFailure, 
> $optionalArgs);
> 76▕ }
> 77▕ }
> 78▕
>
> *but if I want to create a campaign with AdvertisingChannelType::SERACH, 
> it works very will, could you look this problem ?*
>
> Thanks very much
>
>  
>
>  
>
> *De :* adwor...@googlegroups.com [mailto:adwor...@googlegroups.com] *De 
> la part de* Google Ads API Forum Advisor
> *Envoyé :* mardi 21 septembre 2021 15:51
> *À :* estanisla...@gmail.com
> *Cc :* adwor...@googlegroups.com
> *Objet :* Re: Different result from AdWords API and GoogleAds API for 
> Serving Status
>
>  
>
> Hi Estanislao,
>
> Thanks for providing the logs. However, I'm not seeing the unspecified 
> status you mentioned for the Google Ads API request. Can you please show us 
> how/where that status is presenting so we can have a look?
>
> Looking in the account, I see a bunch of successfully created 
> 'Interplanetary Cruise' campaigns
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo]
>
> *Matt*
>
> Google Ads API Team
>
>  
>
>
>
> ref:_00D1U1174p._5004Q2NThTI:ref
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>  
> You received this message because you are subscribed to the Google
> Groups 

Re: CAMPAIGNBIDDINGSTRATEGY_NOT_SET when bidding strategy is MAXIMIZE_CONVERSIONS without targetCpa set

2021-09-23 Thread Estanislao Ledesma
Hi,
No I can't. cpc_bid_ceiling_micros cannot be null and when I send 0 I get 
partial failures (Too low., at 
operations[0].create.target_spend.cpc_bid_ceiling_micros)
Regards,
Estanislao

El martes, 21 de septiembre de 2021 a las 6:06:26 UTC-3, adsapi escribió:

> Hi Estanislao,
>
> Thank you for providing more details to your concern.
>
> Could you confirm if you also tried passing the cpc_bid_ceiling_micros 
> 
>  (without 
> setting value here) to the TargetSpend 
> ? 
> If not, please do so.
>
> If the issue persists, please provide code that you've used here and the 
> updated request 
> 
>  and response 
> 
>  logs 
> with the request headers 
> 
>  and 
> the request ID 
> .
>  Please 
> send the requested details via the *Reply privately to author* option 
> again.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2LmUTL: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/40900948-2cf2-478b-85eb-6b33bdc8e69cn%40googlegroups.com.


Re: How to retrieve underlying Google Ads API query from existing report?

2021-09-23 Thread Newell DTC
Hi Matt

Thank you for your answer. Would you be so kind and also provide API 
mappings for the following UI fields at Campaign level:
1. Performance -> Watch time.
2. Viewability -> Non-viewable impr.
3. Viewability -> Non-measurable impr.
4. Viewability -> Non-viewable impr. distrib.
5. Viewability -> Non-measurable impr. distrib.
6. Viewability -> Viewable CTR.
7. Viewability -> Viewable impr. distrib.
8. Conversions -> Orders.
9. Conversions -> Revenue.
10. Attributes -> Campaign group.
11. Attributes -> Campaign subtype.

They can be accessed from UI in this way:
1. Select some Google Ads account.
2. Expand Campaigns and click on Campaigns button.
3. Click on Columns button between the graph and the table.

Thanks in advance.

Piotr

On Wednesday, September 22, 2021 at 8:49:35 PM UTC+2 adsapi wrote:

> Hello,
>
> While it is not fully comprehensive, I would recommend looking over the 
> guide, Reports in the UI 
> . 
> In addition to other information, it provides the resources that map to 
> several predefined reports in the UI. Most attributes and metrics in API 
> reports are named similarly to their UI names. For your ad network example, 
> you can use the AdNetworkType 
> 
>  
> segment. If you have any specific questions, please let us know. 
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2OSiEm: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/431cb055-42ba-4208-824b-a0cf8cd61c73n%40googlegroups.com.


[Billing] "InvoiceError.BILLING_SETUP_NOT_ON_MONTHLY_INVOICING"

2021-09-23 Thread Steven Jeanne
I would like to get the Invoices for an account. 

I manage to get invoices when the billing setup is a monthly invoicing but 
when it's an automatic I can't. (I can read the error, but the 
documentation doesn't specify that we can only call ListInvoices() for 
billing setup of type Monthly Payment.

Do you know how I could get invoices for automatic payment ?

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/3f5dbe30-e667-4644-84f2-100cf3335f47n%40googlegroups.com.


Google Adwords Billing Setup list api and invoices api

2021-09-23 Thread Jersey Fan Store
Hi,

I am trying to fetch campaign list ,ad list and all ad spends on a 
particular google ad account.Right now I made a test manager account to put 
campaign data and fetch through php sdk but I am unable to fetch billing 
setup list and invoices list .

Please help me to fetch ad spend money data from google ads account through 
php sdk.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/68e6b65b-af5b-4054-808b-f3f732b121ean%40googlegroups.com.


Re: Is available to filter by device when using method "GenerateForecastMetrics"

2021-09-23 Thread miguel...@jot-im.com
Email sent, it is not available in the UI neither.

On Wednesday, September 22, 2021 at 7:22:32 AM UTC+2 adsapi wrote:

> Hi Miguel,
>
> Setting a device filter in the API's generate forecast metrics 
> 
>  
> request is currently not available. You can check this section 
> 
>  
> on which details you can include in the request as compared to the UI.
>
> If in the UI equivalent it is possible to set a device, you may send a 
> screenshot containing the filter option so that our team may create a 
> feature request. If the screenshot would contain your user / account 
> information, you may then send the requested information via the *Reply 
> privately to author* option.
>
> If this option is not available, you may send the details directly to our 
> googleadsa...@google.com alias instead.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2OSgLh: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/4ea1b425-e4c4-4cb6-843f-6edf987df9d4n%40googlegroups.com.


Re: "keyword_plan_service.generate_forecast_metrics" method doesn't return keyword text

2021-09-23 Thread miguel...@jot-im.com
Currently I am mapping resource_name and keyword_text but by performance 
reasons it will affect google API (as many mutate operations as keywords we 
want to include in every keywordplan since we found out  they appear 
unsorted in the response) once we deploy the app delaying our service. 
Including the keyword attributes in the response will minimize the required 
requests to the API.

On Wednesday, September 22, 2021 at 6:00:15 AM UTC+2 adsapi wrote:

> Hi Miguel,
>
> Could you share to us the sample response 
> 
>  
> you are receiving? If you haven't yet, you can enable logging by navigating 
> to the *Client libraries > Your client library (ex. Java) > Logging* 
> documentation, which you can access from this link 
> .
>
> You may then send the requested information via the *Reply privately to 
> author* option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>
> In addition, you should also be able to take note of the keyword text you 
> specify in your keyword plan 
> 
>  
> and associate it to the response / metrics you recieve.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2NUIZh: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/5761c984-b1cf-4944-b4a0-2403617bb8e0n%40googlegroups.com.


unable to retrieve data from adwords REST API USER_PERMISSION_DENIED

2021-09-23 Thread Brian Maynard
Hi,

I have been trying to figure this out now for about 3 weeks. Who would have 
thought that a REST API can be complicated. So I have tried many things to 
get this to work. In fact I can't even remember half the things I've tried.

But here goes.
I have a product manager account under which I have created a dev token. It 
is currently under level: Test account.

I then go the the OAuth 2.0 Playground
Step 1 - Select  https://www.googleapis.com/auth/adwords Then Authorize 
API's
- I then select a manager account. The one used to create the 
dev token and   allow  access using this account
Step 2 - Exchange authorization code for token
Step 4 - In the headers I add developer-token and add the dev token. I also 
add login-customer-id = to the product managers Client ID

For the request URI I 
put: https://googleads.googleapis.com/v8/customers/{Test client ID}
It then returns. (I can even replace the Test client ID with the manager 
ID. It makes no differance) 

HTTP/1.1 403 Forbidden Content-length: 732 X-xss-protection: 0 
X-content-type-options: nosniff Transfer-encoding: chunked Request-id: 
-eaa2Fc5qZjn0EGFVEJkaA Vary: Origin, X-Origin, Referer Server: ESF 
-content-encoding: gzip Cache-control: private Date: Thu, 23 Sep 2021 
08:28:33 GMT X-frame-options: SAMEORIGIN Alt-svc: h3=":443"; 
ma=2592000,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" 
Content-type: application/json; charset=UTF-8{
  "error": {
"status": "PERMISSION_DENIED", 
"message": "The caller does not have permission", 
"code": 403, 
"details": [
  {
"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
"
  }
], 
"@type": 
"type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure", 
"requestId": "-eaa2Fc5qZjn0EGFVEJkaA"
  }
]
  }
}

If I replace the Test client ID with a production Client ID. I get
HTTP/1.1 403 Forbidden Content-length: 593 X-xss-protection: 0 
X-content-type-options: nosniff Transfer-encoding: chunked Request-id: 
vFtxYPFFlbkPLYz9dD4cBQ Vary: Origin, X-Origin, Referer Server: ESF 
-content-encoding: gzip Cache-control: private Date: Thu, 23 Sep 2021 
08:32:20 GMT X-frame-options: SAMEORIGIN Alt-svc: h3=":443"; 
ma=2592000,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" 
Content-type: application/json; charset=UTF-8{
  "error": {
"status": "PERMISSION_DENIED", 
"message": "The caller does not have permission", 
"code": 403, 
"details": [
  {
"errors": [
  {
"errorCode": {
  "authorizationError": "DEVELOPER_TOKEN_NOT_APPROVED"
}, 
"message": "The developer token is not approved. Non-approved 
developer tokens can only be used with test accounts."
  }
], 
"@type": 
"type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure", 
"requestId": "vFtxYPFFlbkPLYz9dD4cBQ"
  }
]
  }
}

Which is expected.

What would be the url end point for getallcustomer? I want to send a 
request to see which customer ID's are linked to the test account. I'n this 
way I could try work out which text accounts I can access.

Any assistance with this would be greatly appreciated.

Just on a side note. Why does the OAuth 2.0 Playground not return any info 
if the "List possible operations" button is pressed  








-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/59fec27c-de4b-4131-9bb7-514ee64893e5n%40googlegroups.com.


Re: How I can access these report fields (Campaign Phone Numbers: Active and Campaign Phone Numbers: disapproved) from Google Ads API?

2021-09-23 Thread Qaiser Javed
Hey Mark,

Thank you for your response. I wish to get this feature soon.

Thanks & Regards,

On Thursday, September 23, 2021 at 7:27:24 AM UTC+5 adsapi wrote:

> Hello Qaiser,
>
> Thanks for sharing the full screenshot from the Google Ads UI.
>
> Upon further checking, I'm afraid that the fields (Campaign Phone Numbers: 
> Active and Campaign Phone Numbers: disapproved) are still not supported in 
> the API. With that, allow me to raise a feature request for this; however, 
> please note that there is no guarantee if this will be supported in the API 
> soon. We suggest that you follow our blog 
>  for updates and new releases.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2OSikt: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/595d6b60-89b1-47ae-8bc6-736a05b24cdan%40googlegroups.com.


how to get authorization code for tokens through google ads api?

2021-09-23 Thread li li
Hi, I want to know if our customers login in our web application, how to 
get google ads api  *authorization code for tokens*  without OAuth2? we 
want to get authorization code for tokens through google ads api if 
possible.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf3f8477-0cb8-46ae-9c9f-049731779065n%40googlegroups.com.


RE: Change product group bid to "Excluded" for others case via Ads API

2021-09-23 Thread Google Ads API Forum Advisor
Hi Michael,

Thank you for reaching out to our API support team.

It is correct that when using the API, you will need to remove and then 
recreate a criterion if you wish to change it from being targeted to excluded 
and vice versa. For listing groups, removing a unit would require you to remove 
the entire subdivision, and re-add it with the updated details (targeted to 
excluded).

This is because each subdivision must always be completely partitioned, as 
mentioned in this guide. Let me know how this goes on your end.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2OTHfX: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/AfuWh0QZVJTD00LhwDdo8BRg2pzw47gzpgHQ%40sfdc.net.


Re: Change event service issue fetching more than 10k rows

2021-09-23 Thread Arshdeep Singh Bhargav
Just so you are aware, a similar constraint is on ChangeStatusService ,and 
I could repro the same issue while querying for change_status.
On Thursday, September 23, 2021 at 12:03:58 PM UTC+5:30 Arshdeep Singh 
Bhargav wrote:

> Hey thanks for the update, looking forward for an update on the request 
> soon.
>
> Best,
> Arsh
> On Tuesday, September 14, 2021 at 10:36:12 PM UTC+5:30 adsapi wrote:
>
>> Hi Arshdeep,
>>
>> Thank you for reaching out to Google Ads API with your change event 
>> issue. I reproduced the issue and raised a request with my team to create a 
>> method for returning all results when more than 10,000 change events occur 
>> in a split second. You may monitor our blog 
>>  for 
>> an update.
>>
>> Regards,
>>
>> [image: Google Logo] 
>> Aryeh Baker 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2NTe5S: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/3e6dd2ba-78eb-4aab-9b80-43ac289a9aban%40googlegroups.com.


Re: Change event service issue fetching more than 10k rows

2021-09-23 Thread Arshdeep Singh Bhargav
Hey thanks for the update, looking forward for an update on the request 
soon.

Best,
Arsh
On Tuesday, September 14, 2021 at 10:36:12 PM UTC+5:30 adsapi wrote:

> Hi Arshdeep,
>
> Thank you for reaching out to Google Ads API with your change event issue. 
> I reproduced the issue and raised a request with my team to create a method 
> for returning all results when more than 10,000 change events occur in a 
> split second. You may monitor our blog 
>  for 
> an update.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2NTe5S: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/6042ce09-6bd8-4923-a5c5-a1ab3fd4ab74n%40googlegroups.com.