How can I get the date when cost was greater than or equal a certain value in PHP?

2023-06-05 Thread Κωστας Μαυρογαλος
Hey yall. As the title suggests, I want to build a query which returns the date when the total cost of an account was greater than or equal to a certain value. So far, I have made this:* $query = 'SELECT campaign.start_date FROM campaign WH

Retireve info when the account is suspended

2023-06-09 Thread Κωστας Μαυρογαλος
Greetings, I'm attempting to query the API about whether an account is suspended or not(V13 and using PHP, btw). So far, attempting to query the API with the id of a suspended account returns a *Fault* and more specifically a *Status code:7* *Details: The caller does not have permission* and my

Access and edit the listing group of an asset group of a campaign

2023-06-14 Thread Κωστας Μαυρογαλος
Hey yall, Bit of a complicated question, I must admit. But, I'm looking for a way to view and edit the listing groups of an asset group of a particular campaign. To explain what I mean as best as I can, through the UI. Inside an account, you have several campaigns. By opening a *Performance* cam

Re: Refresh token

2023-06-19 Thread Κωστας Μαυρογαλος
If your project is in "Testing" because you haven't verified it, the refresh token expires after a week of its making. What helped me(using the PHP client library, was to literally just re-make a refresh token the same you made your first one. For the PHP library in particular, the file you're lo

Google Ads API, PHP: "Request had invalid authentication credentials. Expected OAuth 2 access token..." Error

2023-06-19 Thread Κωστας Μαυρογαλος
I'm attempting to cURL the Google Ads API with the following PHP code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://googleads.googleapis.com/v14/customers/[CUSTOMER_ID]:generateKeywordHistoricalMetrics'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUST

How long would a refresh token last if I changed my project's status to "In production"? Also, can I retrieve a refresh token programmatically and without needing user input/confirmation?

2023-07-19 Thread Κωστας Μαυρογαλος
Greetings, I'm trying to solve a conundrum here. My project is configured as *"External"* and *"Testing"*, which makes my refresh tokens last for just 7 days. Since the scripts that use the refresh tokens are executed automatically via a cronjob, I would like an answer to each of these questions

Re: how long would a refresh token last if i changed my project's status to "in production"? also, can i retrieve a refresh token programmatically and without needing user input/confirmation?

2023-07-19 Thread Κωστας Μαυρογαλος
So, basically, refresh tokens last for ever, as long as the requirements in https://developers.google.com/identity/protocols/oauth2#expiration are met? On Wednesday, July 19, 2023 at 6:32:57 PM UTC+3 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to Google Ads API Foru

I want to publish my app but I HAVE to have a login screen. Is there a workaround?

2023-07-20 Thread Κωστας Μαυρογαλος
Greetings, Because I can't manually create a new refresh token every week(seeing as it's in "Testing"), I've decided to publish my app and I'm looking through the verification process. Inside there, it states:"Your homepage must be publicly accessible, and not behind a sign-in page.". Thing is,

Is there a way to retrieve the promotional offers through the API?

2023-08-25 Thread Κωστας Μαυρογαλος
Good day to you, Looking at the front end of Goods Adwords, I came across this table: [image: promotional_offers.png] The path to find it (logging in on the MCC Account, is to go to the bottom left and click:"Partners programme" and then, to the right of the screen, "Promotional Offers". I'm lo

Re: Are "Promotional offers applied" available via the Ads API?

2023-08-25 Thread Κωστας Μαυρογαλος
Hey, because I'm looking for the exact same thing, is it possible to retrieve that information? Thanks you in advance On Monday, December 19, 2022 at 7:34:07 AM UTC+2 Google Ads API Forum Advisor wrote: > Hi, > > This is Carmela from the Google Ads API support team. Thank you for > reaching o

Re: is there a way to retrieve the promotional offers through the api?

2023-08-25 Thread Κωστας Μαυρογαλος
Is it possible you have an approximate date of when this feature will be released? On Friday, August 25, 2023 at 12:42:31 PM UTC+3 Google Ads API Forum Advisor wrote: > Hello, > > Greetings from the Google Ads API Team. > > Upon checking, it appears that the promotion information from the UI vi